HTML links use the <a> (anchor) tag to allow users to click and go to another page, section, or resource.
<a href="https://example.com">Visit Site</a>The href attribute defines the destination. The link text is what users click.
<a href="https://example.com">Click here</a>Use target="_blank" to open the link in a new browser tab.
<a href="https://example.com" target="_blank">Open in new tab</a><a href="/contact.html">Contact</a>
<a href="https://wikipedia.org">Wikipedia</a>Use mailto: or tel: to create interactive links:
<a href="mailto:info@example.com">Email Us</a>
<a href="tel:+1234567890">Call Us</a>Use the download attribute to trigger a file download instead of navigating to the file.
<a href="files/guide.pdf" download>Download PDF</a>Create 3 links:
https://www.google.com (open in new tab)about.htmlresume.pdf<a href="https://www.google.com" target="_blank">Google</a>
<a href="about.html">About Page</a>
<a href="resume.pdf" download>Download Resume</a>Ask the AI if you need help understanding or want to dive deeper in any topic