HTML Link Bookmarks

Bookmarks let a link jump to a specific spot on a page.

First give an element an id, then link to it with a # in front of that id. Clicking the link scrolls straight to the element.

A bookmark

<!DOCTYPE html>
<html>
<body>

<a href="#tips">Jump to Tips</a>

<h2 id="tips">Tips</h2>
<p>Keep file names lowercase and avoid spaces.</p>

</body>
</html>
Note: Bookmarks are handy for long pages, such as a table of contents that links to each section.