<a href="https://example.com">External link</a>
<a href="/about">Internal link</a>
<a href="#section2">Jump to section</a>
<a href="mailto:hi@example.com">Email us</a>
<a href="https://example.com" target="_blank" rel="noopener">New tab</a>Tip
Always add rel="noopener" (or noreferrer) with target="_blank" — it's both a security and performance best practice.