What do you mean by HTML links?

An HTML link (hyperlink) is a clickable text or image that takes the visitor to another page, a file, an email app or a part of the same page. It is created with the <a> tag, and the address is written in the href attribute.

<a href="https://www.example.com">Visit Example</a>
<a href="about.html">About us</a>
<a href="mailto:info@example.com">Email us</a>
<a href="https://www.example.com" target="_blank" rel="noopener">Open in new tab</a>
Output in the browser

Learn more in HTML Links.


Learn more about the similar topics:
Tutorials
HTML Links
HTML Images
Exercises & Assignments
Write an HTML program to create links (new tab and email)
Write an HTML program to display an image
Interview Questions & Answers
How do you create links to sections within the same page?
What do you mean by HTML links?
How to create a link to jump to a specific part of a page in HTML?
How do you insert an image into HTML?
What is the alt attribute in HTML and why is it important?
How to open a link in a new tab in HTML?
What is the difference between absolute and relative URL in HTML?