HTML Links

Hyperlinks (Links) In HTML :

The HTML command identifies a hyperlink.
A hyperlink (or link) is a word, group of words, or picture that you could click on to jump to another document.
When you move the cursor around a url in a Website, the arrow may become a small hand.
The most crucial feature of the  factor may be the href feature, which suggests the link’s destination.
By default, links can look the following in every windows:

  • An unvisited url is underlined and orange.
  • A visited url is underlined and purple.
  • A dynamic url is underlined and red.

Link Syntax :


The href feature specifies the location of a link.

Example :


Links With The target Attribute :

The prospective attribute specifies where to open the linked document.
The case under will open the linked record in a fresh browser window or a new tab:


Links With The id Attribute :

The id feature can be utilized to create a bookmark in a HTML document.

Example :

An point by having an identity inside an HTML document:


Leave a Reply

Your email address will not be published. Required fields are marked *