The local links in a web page are called anchors.

To define an anchor in a HTML page, create a dummy “a” link as shown below.

<a id="chapter1"></a>

Create a link that user can click on to go to the previously defined anchor.

<a href="#chapter1">Chapter1</a>