In this section, you will learn about the anchor tag of HTML5.In this section, you will learn about the anchor tag of HTML5.
In this tutorial, we will introduce you to the <a> anchor tag of HTML5. An
Anchor tag is a hyper link. It is used to
create a link from one page to another document like html, video etc. It may be of two types:
Text written in anchor tag will be colored and underlined.
3-rel (Define relationship)
5-hreflang (Specify language of target document)
if herf attribute is not present in anchor tag then other tag is unusable.
Declaration syntax of anchor tag in Html5.
|<a href="value">Text Area</a>|
See the browser compatible page for successfully rendering the program.
Note: See the browser compatible page for successfully rendering the program.
Anchor tag in HTML5 has some extra attributes which are not
supported by HTML4.01, and it does not support
some attributes available in HTML4.01 for example, charset, coords etc.