</> Code Corner

HTML · HTML Tutorial · Lesson 14

HTML Links

Hyperlinks, targets, and linking to email and sections.

Links are found in nearly all web pages. Links allow users to click their way from page to page.

Example

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

The target Attribute

By default, a linked page opens in the current tab. Use target="_blank" to open it in a new tab.

Keep reading “HTML Links”

Sign up to read the full lesson (9 more parts), try every example in the live editor, and take the 5-question quiz.

Chat with us 👋