SmartToolz HTML
HTML Tutorial
Beginner Tutorial
HTML Home Introduction Editors Basic Elements Attributes Headings Paragraphs Styles Formatting Comments Links Images Tables Lists
Forms
Forms Input Types Form Attributes Input Attributes Validation
Advanced
Geolocation Web Storage Web Workers SEO Basics
Try It Yourself
BATTLEGROUND
Previous Next

HTML Links

What are Links?

HTML links are used to navigate between pages or websites.

Example

<a href="https://www.google.com">Visit Google</a>

<a href="https://example.com" target="_blank">Open in New Tab</a>

<a href="mailto:test@example.com">Send Email</a>

<a href="index.php?page=home">Go to Home Page</a>
Try it Yourself

href

Destination URL

_blank

Open new tab

mailto

Email link

Internal

Page navigation

Summary

  • Links use <a> tag
  • href defines destination
  • Can open pages, sites, emails
Previous Next
© 2026 Smartoolz | All Rights Reserved