main content How to create an anchor link

This tutorial describes how to make an anchor link (also known as a bookmark or internal link) on a page.
January 02, 2014

Description: This tutorial describes how to make an anchor link (also known as a bookmark or internal link) on a page.

Examples of creating an anchor with an “id” inside an HTML document:

<h3 id="tips">Useful Tips Section</h3>

– OR –

<a id="tips">Useful Tips Section</a>

 

Create a link to the “Useful Tips Section” inside the same document:

<a href="#tips">Visit the Useful Tips Section</a>

 

Or, create a link to the “Useful Tips Section” from another page:

<a href="http://www.lclark.edu/html_links.htm#tips">Visit the Useful Tips Section</a>

More Stories