The <a> tag defines an anchor. An anchor can be used in two ways:
- To create a link to another document, by using the href attribute
- To create a bookmark inside a document, by using the name attribute
The <a> element is usually referred to as a link or a hyperlink.
The most important attribute of the <a> element is the href attribute, which indicates the link's destination.
Example of the <a href="https://www.cssportal.com/html-tags/tag-a.php" target="_blank">a tag</a>, used in html.
The <a> tag also supports the Global Attributes in HTML5
The <a> tag also supports the Event Attributes in HTML5
View All HTML Tags