Skip to content

HTML Hyperlink tag | create a hyperlink in HTML

  • by

HTML Hyperlink is used to link from one page to another. Use “<a> tag” to create a Hyperlink. In <a> tag href attribute needed link’s destination.

Some Hyperlinks terms are in HMTL:-

  • Visited Link:- A visited link is underlined and purple.
  • Hover Link:- Move the mouse over a link, the mouse arrow will turn into a little hand.
  • Active Link:- The default link color for browsers is blue. The default link color for browsers is blue. (Non visited)

Q: How to create a hyperlink in HTML?

Answer: You have to use <a> tag to insert (create) a hyperlink in an HTML page.

Example code for HTML Hyperlink

<!DOCTYPE html>
<html>

<body>
    <a href="https://www.google.com/">Google Link</a> 
</body>
</html>

Output:

create a hyperlink in HTML

The tag indicates where the hyperlink starts and the tag indicates where it ends.

Read more: HTML a tag( HTML anchor tag)

Do comment if you have any doubts and suggestions on this tutorial.

Note: The All HTML Examples codes are tested on the Firefox browser and the Chrome browser.

OS: Windows 10

Code: HTML 5 Version

Leave a Reply

Discover more from Tutorial

Subscribe now to keep reading and get access to the full archive.

Continue reading