Skip to main content
🌐 HTML Basics

Links

A link is an anchor tag, <a>. The href attribute says where it goes, and the text between the tags is what the user clicks.

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

An attribute like href lives inside the opening tag and gives it extra info. The web address goes in quotes.

Your task

Create a link that points to https://example.com with the clickable text Click here.

⚑ 25 XP

Hints

index.htmliframe
Loading editor…
Preview
Run your code to see test results.