• Teach Your Self With
             w3htmlschool.com

HTML Anchor tag

HTML anchor tag marks the text as a hypertext link.
Some of the attribute of the anchor element are:
HTML Anchor HREF
Anchor HREF attribute link the document with the text or images define in the block
HTML Anchor NAME
Anchor name attribute allow to give name to anchor .Not supported in HTML 5 use Id attribute instead of name. HTML Anchor TITLE
Anchor title attribute show the information about the link in small box while the mouse is over the anchor ,or image, plain text etc.
HTML Anchor TARGET
Anchor target attribute define where the document will be open.
An anchor tag is define as
Example
Example Output