Breaking News

HTML Anchor Tag “a href” Link

An HTML anchor tag <a> is used to define visible link (text or image) that can click to jump another internal or external webpage. These links are known as hyperlinks which refer to further information on another webpage. Search engines use this HTML tag in order to determine the subject matter of the linked target.

Hreflang, download, target, title, href, and name are the important attribute of the anchor tag.

Read: Complete HTML Tags List

HTML Anchor Tag <a href>, Example

<!DOCTYPE html>
<html>
<head>
<title>Anchot Tag</title>
</head>
<body>
<a href="https://khyberacademy.com">Visit: Khyber Academy</a>
</body>
</html>

Default Appearance Anchor Link <a href>:

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

Browser Supports <a href> tag:

  • Inter Explorer (all)
  • Google Chrome (all)
  • Firefox (all)
  • Safari (all)
  • Opera (all)

About Hikmat Ullah

Check Also

HTML Headings Tags H1, H2, H3, H4, H5, H6

HTML Headings Tags H1, H2, H3, H4, H5, H6

In this lession, you will learn totall six levels html headings tags, i.e. <h1> <h2> …