About 47,100,000 results
Open links in new tab
  1. 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!

    Open 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!

    Anchor 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!

    Email Links

    Use the mailto: scheme to create an email link.

    <a href="mailto:[email protected]">Send Email</a>
    Copied!

    Telephone Links

    For mobile devices, use the tel: scheme to create a clickable phone number.

    <a href="tel:1234567890">Call Us</a>
    Copied!

    Image 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!

    Downloadable Links

    Feedback
  2. HTML Links Hyperlinks - W3Schools

    HTML links are hyperlinks. You can click on a link and jump to another document. When you move the mouse over a link, the mouse arrow will turn into a little hand.
    Html Links - Syntax

    The HTML <a>tag defines a hyperlink. It has the following syntax: The most important attribute of the <a> element is the hrefattribute, which indicates the link's destination. The link textis the part that will be visible to the reader. Clicking on the lin…

    Html Links - The Target Attribute

    By default, the linked page will be displayed in the current browser window. To change this, you must specify another target for the link. The targetattribute specifies where to open the linked document. The targetattribute can have one of the followi…

    Absolute URLs vs. Relative URLs

    Both examples above are using an absolute URL (a full web address) in the hrefattribute. A local link (a link to a page within the same website) is specified with a relative URL(without the "https://www" part):

  3. 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 …

  4. People also ask
  5. 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 …

  6. HTML Link Code: How to Create Hyperlinks on Your Site - Backlinko

    Jul 10, 2025 · HTML links (also called hyperlinks) are some of the most important functions of the internet. Google literally relies on them to find, crawl, index, and rank pages. Links have a lot of …

  7. 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 …

  8. 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 …

  9. 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 …

  10. 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.

  11. 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 …

  12. 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 …