In HTML, hyperlinks are created using the <a>
(anchor) tag. Hyperlinks are fundamental to the web, allowing users to navigate between different pages, sections of the same page, or even to trigger downloads or open email clients.
<a href="url">link</a>
Try it yourself
Try it yourself
Try it yourself
Attribute
|
Description
|
---|---|
_blank
|
Opens in a new tab or window.
|
_self
|
Opens in the same tab or window (default).
|
_parent
|
Opens in the parent frame.
|
_top
|
Opens in the full body of the window.
|
Try it yourself
Note
title
: Provides additional information about the link, usually displayed as a tooltip when hovering over the link.