CJCoding With Joseph
15free / daySign inCreate account

HTML

Links and Anchor Tags

Anchor Tags

Links are one of the most important parts of the web. They allow you to connect one page to another or send the user to a completely different website.

The tag we use for links is <a>. The “a” stands for anchor.


Step 1. Write your first link

First, write a simple <a> tag with some text inside it:

<a>This is a link</a>

Right now this does nothing. It just shows plain text, because the browser doesn’t know where the link should go.

Members only

Keep reading this lesson

You've reached the end of the free preview. Unlock the rest of this lesson plus 10 more lessons in HTML.

  • Unlimited coding questions
  • Unlimited access to all classroom material
  • Weekly live call for questions and guidance
  • 3,000 AI tutor tokens / month
  • Personal SQL database (3 MB)
  • Progress tracking

Cancel any time.