HTML

Linking local webpages in HTML

We can access local webpages like trail.html by adding / before the file name, just like with local images.

 <body>
  <h5>History of the American Pioneers</h5>
  <a href="/trail.html">Follow the <strong>trail</strong> by clicking
   here!</a>
 </body>

 <body>
  <a href="/index.html">Back</a>
  <h3>Oregon Trail</h3>
  <p>The Oregon Trail is a 2,170-mile historic East-West, large-wheeled wagon route and emigrant trail in the United States that connected the Missouri River to valleys in Oregon.</p>
 </body>
Learn HTML for Free
Start learning now
button icon
To advance beyond this tutorial and learn HTML by doing, try the interactive experience of Mimo. Whether you're starting from scratch or brushing up your coding skills, Mimo helps you take your coding journey above and beyond.

Sign up or download Mimo from the App Store or Google Play to enhance your programming skills and prepare for a career in tech.

You can code, too.

© 2025 Mimo GmbH