Thursday 20 May 2021

HTML < a > Tag

 Definition and Usage

The <a> the tag defines a hyperlink, which is used to link from one page to another.

The most important attribute of the <a> element is the href attribute, which indicates the link's destination.

By default, links will appear as follows in all browsers:

  • An unvisited link is underlined and blue
  • A visited link is underlined and purple
  • An active link is underlined and red


<!DOCTYPE html>

<html>

<body>


<h1>The A Element</h1>


<a href="https://multidottech.blogspot.com/">Visit Multi Dot Tech!</a>


</body>

</html>




No comments:

Post a Comment

Popular Post