<a>: The HTML Anchor Element

1 Description

The HTML <a> element is the element resposible for creating hyperlinks between HTML documents. <a> elements are typically rendered by web browsers in a blue font, and they are underlined.

2 Examples

<!DOCTYPE html>
<html>
    <head>
        <title>Example Page</title>
    </head>
    <body>
        <h1>Example HTML Page</h1>
        <p>Below are some links to search engines.</p>
        <a href="https://www.google.com/">Google</a>
        <a href="https://www.bing.com/">Bing</a>
        <a href="https://www.duckduckgo.com/">DuckDuckGo</a>
    </body>
</html>

This document was last updated: