Jazzo.co.uk uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our Privacy Policy and our Terms & Condition.

HTML <a>

query_builder | Christopher Pisani

To create a link in a page we use the tag <a>. This is called a hyperlink. It is usually used to move to another page, but it also can be used to move to an ID on the same page, to open an email client, call on a contact number.

Moving to another page :
Moving to an ID :
Email and phone number example :

Available Attributes


Attribute Values Functionality
href url Specifies the link
target _blank
_parent
_self
_top
Specifies were to open the link
ping url Sends an HTTP POST to a specified URL, generally used for tracking or count clicks on a particular link.
rel alternate
author
bookmark
external
help
license
next
nofollow
noreferrer
noopener
prev
search
tag
The relationship between the current document and the document you are about to open
media format Gives info about media type the document will compose of
hreflang url The language of the linked document
type format The media of the linked document