11. Hyperlinks

Hyperlinks are links from one document to another document or to another part of the same document and allow easy navigation between documents.

The letter H of the name HTML refers to Hyperlinks.

Labels used

<a href="hop"> Text </a>
hyperlink. The text between the tags will appear in the browser. By clicking on the text, you will jump to the reference that contains href.
id="name"
This attribute appears inside a tag to give it a name. the name has to be unique and not repeat itself, in order to distinguish the labels from each other.
Files to download and paste in the same directory as the html page we are writing.

Page code

_images/html-link-html.png

Result

_images/html-link-web.png