How To: Insert an HTML Anchor into your page
The Basics
An anchor will allow you to link to areas within a page and is most commonly used when you have a very long page with something similar to a table of contents at the top and then content with headings further down.
To create anchors in SharePoint you will need to use two basic pieces of HTML, the syntax and execution will be explained below.
Syntax
To create an anchor you will need a link and a target. The link would sit in the table of contents for example and the target will be the heading that you want the user to go to when the click on the link.
Here are the two pieces of code you will need to use.
The Anchor
<a href = "#target"> link text </a>