Then <a> Anchor Element in HTML
The tag defines a hyperlink, which is used to link from one page to another.
The most important attribute of the element is the href attribute, which indicates the link's destination.
Few Common Attributes which are used with the Anchor Tag are as follows:
- download : Specifies that the target will be downloaded when a user clicks on the hyperlink
href: Specifies the URL of the page the link goes to
target: Specifies where to open the linked document
- _blank
- _parent
- _self
_top
type: Specifies the media type of the linked document
5.media: Specifies what media/device the linked document is optimized for