HTML Links

HTML Links

In HTML <a> tag stands for anchor tag. Which is used for defined links in webpage.
A link or hyperlink allows users to go to another page from one web page.
you can click on a link and go to another page.
Syntex
<a href=”Desiination url“>link text</a>
<a href=”http://www.google.com”>Visit Google.com</a>
HTML Links target Attribute

Target attribute specify where to open the linked document.

The target attribute can have one of the following values:

_blank – Opens the linked document in a new window or tab
_self – Opens the linked document in the same window/tab as it was clicked (this is default)
_parent – Opens the linked document in the parent frame
_top – Opens the linked document in the full body of the window
framename – Opens the linked document in a named frame

<a href=”https://www.google.com/” target=”_blank”>Visit Google!</a>