HTML Tag Reference
A quick reference for all HTML tags and their attributes. Find what you need to build your web pages.
The <a> Tag
The <a> tag defines a hyperlink, which is used to link from one page to another.
The most important attribute of the <a> element is the href attribute, which indicates the link's destination.
Example
index.html
<a href="https://www.google.com" target="_blank">Visit Google</a>Attributes
Attributes for the <a> tag:
| Attribute | Description |
|---|---|
| href | Specifies the URL of the page the link goes to. |
| target | Specifies where to open the linked document (e.g., _blank, _self, _parent, _top). |
| rel | Specifies the relationship between the current document and the linked document. |
| download | Specifies that the target will be downloaded when a user clicks on the hyperlink. |