- ✕This summary was generated using AI based on multiple online sources. To view the original source information, use the "Learn more" links.
Hyperlinks in HTML are created using the <a> tag, which allows users to navigate between web pages or resources. The href attribute specifies the destination URL.
Example: Basic Hyperlink
<a href="https://www.example.com">Visit Example</a>Copied!✕CopyOpen Link in a New Tab
To open a link in a new tab, use the target="_blank" attribute.
<a href="https://www.example.com" target="_blank">Open in New Tab</a>Copied!✕CopyAnchor Links (Jump to Section)
Anchor links allow navigation within the same page using the id attribute.
<a href="#section1">Go to Section 1</a><h2 id="section1">Section 1</h2>Copied!✕CopyEmail Links
Use the mailto: scheme to create an email link.
Copied!✕CopyTelephone Links
For mobile devices, use the tel: scheme to create a clickable phone number.
<a href="tel:1234567890">Call Us</a>Copied!✕CopyImage as a Link
Embed an image inside an <a> tag to make it clickable.
<a href="https://www.example.com"><img src="image.jpg" alt="Example Image" /></a>Copied!✕CopyDownloadable Links
HTML Links Hyperlinks - W3Schools
CSS Links - GeeksforGeeks
Nov 4, 2025 · CSS Links are used to style hyperlinks and control how they appear in different states such as normal, visited, hover, and active. They …
- People also ask
What is HTML Link (Hyperlinks)? A Complete Guide …
May 22, 2025 · What is a hyperlink in HTML? A hyperlink is an HTML element that allows you to build a link between two web pages or a webpage and a …
HTML Link Code: How to Create Hyperlinks on Your Site - Backlinko
HTML Links Hyperlinks | Docs With Examples - Hackr
Mar 5, 2025 · In HTML, links are created using the <a> (anchor) tag, which is a link element responsible for defining absolute URLs, relative URLs, and …
What is Hyperlink in HTML : Types, Features and …
Sep 24, 2025 · An HTML hyperlink is a reference embedded within a web page, which, when clicked, directs the user to another location, be it on the …
Creating links - Learn web development | MDN
Nov 23, 2025 · Hyperlinks are features of an HTML document that, when clicked or otherwise activated, cause the browser to navigate to other …
HTML & CSS Links and Navigation - W3Schools
HTML & CSS: Links & Navigation Links connect your site together. Combine semantic navigation markup with CSS to create clear, accessible menus.
Styling Hyperlinks with CSS | Web Design
Apply CSS style rules to the five hyperlink states: link, visited, focus, hover and active. You can view the finished versions of the two sample web …
HTML Links Hyperlinks - GeeksforGeeks
Nov 8, 2025 · HTML Links, also known as Hyperlinks, are used to connect one web page to another, allowing users to navigate easily between different pages, websites, or sections within …