HTML
HTML LinksHTML Links
HTML links connect web pages together.
Read Time
5 min readDifficulty
BeginnerLast Updated
Jun 15, 2026Version
v1.0.0Introduction
HTML creates hyperlinks that let users navigate between pages. The `` anchor tag defines a link, and the `href` attribute specifies the destination URL. External links should open in a new tab securely.
Syntax
Syntax
Example
Example
Try it Yourself
Hands-on Practice
Modify the code below to see how it affects the output. This is the best way to learn!
Interactive Editor
1234567891011121314151617181920
Live Preview
Key Points
- The `` tag defines hyperlinks.
- The `href` attribute holds the destination address.
- Absolute URLs link to other websites.
- Relative URLs link to local pages.