Anchor or a href tag for Hyperlink in HTML
The anchor element is used to create hyperlinks between a source and a destination.
The source can be image, button or plain text that links to another resource, and the destination is also a type of resource (like page, document, images, different website, or some position on same page) that the source anchor links to.
Hyperlinks are one of the fundamental technologies that you will be using very often in web designing and development, by linking web information to information (content), so you need to understand how to use anchor elements, and how you can apply different style on hyperlink .
Anchor or ahref tag <a href="pageurl.html" /> is used when we want to link some content on same page or to a different pageLet's look at some example of Anchor or ahref tag .
<a href="pagename.html" > Click Here </a>
|href||here you need to set the destination url, incase want to link something on same page, use #id
example: <a href="#dvShortinfo">Link on same page</a>
|target||indicate how you want the destination to be open, "_blank" | "_top" | "_self" | "_parent"|
|title||this is optional, but very useful for SEO|
<a href="destination_resource_location" target="_blank" title="SEO freindly title text" > Click Here </a>