HTML EXAMPLE · WORKING REFERENCE

Create a Link

Anchor element aur href attribute se clickable link banao.

Working code

<a href="https://example.com">Visit Example</a>
Run Code ▶

Preview

How it works

<a> anchor element link create karta hai.

href destination address define karta hai aur element ke beech ka text clickable label hota hai.

Try Yourself

<a href="https://developer.mozilla.org/">Read MDN Web Docs</a>

Learn this concept

Read related HTML Tutorial →