HTML Hyperlink
By Tony
2.18.2024
Hyperlink is one of the most important elements on a webpage. Users access different websites around the world using hyperlinks. This article will tell you how to add a link to your website.
Here is the HTML code responsible for a link:
We typed the <a> anchor tags and used the "href" attribute to make
the text inside a clickable link. It tells browser where to go when
user clicks on the link.
These are what you can type in the href
attribute:
- Any avaliable website link. (Like the example above)
- Files in the document's folder, inner folder, or outer folder.
- Any elements on that page.
To learn more, you can try it yourself, watch video tutorials, or visit our references.