Submodule 2.3: Links
Completion requirements
- Link to a web page
- Local link
- Link on an image
Link to a web page
External links
The syntax used inside the href attribute is different for external and internal url
. An external url
is a different web site. In this case we should use an absolute url
which is a full web address starting with https://www.
Example:
<a href="https://www.w3schools.com/" target="_blank">Visit w3schools!</a>