HTML links are hyperlinks, You can click on a link and jump to another document. When you move the mouse over a link, the mouse arrow will turn into a little hand.
Syntax:
<a href="url">link text</a>
By default, links will appear as follows in all browsers:
<a href="url">link text</a>
<a href="<https://www.google.com/>">Visit Google.com!</a>
The
target
attribute specifies where to open the linked document.
The target
attribute can have one of the following values:
_self
- Default. Opens the document in the same window/tab as it was clicked_blank
- Opens the document in a new window or tab_parent
- Opens the document in the parent frame_top
- Opens the document in the full body of the window<a href="<https://www.google.com/>" target="_blank">Visit Google!</a>