You are here : htmlHTML 5a

<a> - HTML 5

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.

By default, links will appear as follows in all browsers:

  • An unvisited link is underlined and blue
  • A visited link is underlined and purple
  • An active link is underlined and red


<a href="...url...">LINK NAME</a>


<a href=''>Click here to go to Wikidev</a>

Output / Return Value


Alternatives / See Also