Erudiax
PracticeLearning PathsInterview Prep
HTML
HTML
CSS
CSS
JavaScript
TypeScript
TypeScript
React
Node.js
Python
Data Structures
AI
ML
Web Scraping
Angular
PHP
PHP
Laravel
Laravel
  1. Home
  2. HTML
  3. HTML Links
HTMLHTML14 min read

HTML Links

Create links, open new tab safely, and link to sections in same page.

David Miller
December 4, 2025
6.1k220

Links use the tag.

Simple link

<a href="about.html">About</a>

Open in new tab (safe way)

<a href="https://example.com" target="_blank" rel="noopener noreferrer">
  Visit Example
</a>

Link to section on same page

<a href="#pricing">Go to Pricing</a>
<h2 id="pricing">Pricing</h2>

Preview

Click About → opens about page
Click Go to Pricing → jumps down

Tip

Use meaningful link text, not “click here”.

#HTML#Beginner

More on HTML

HTML Introduction

8 min1.0k

HTML Introduction

10 min1.0k

HTML Editors

8 min2.8k
Erudiax

Your comprehensive platform for mastering programming with expert tutorials, practice problems, and courses.

Popular Topics

  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • React
  • Node.js

Resources

  • Tutorials
  • Practice Problems
  • Courses
  • Community
  • MDN Web Docs
  • Stack Overflow

Company

  • About Us
  • Contact
  • Privacy Policy
  • Terms of Service

© 2025 Erudiax. All rights reserved.