Links are used to connect different pages or resources. HTML provides the <a> tag to create hyperlinks. The href attribute is used to specify the URL of the page the link points to.
<a href="https://www.example.com">Go to Example</a>
<nav> <a href="home.html">Home</a> <a href="about.html">About</a> <a href="contact.html">Contact</a> </nav>