Navigation page
To jump to a specific part of a single-page website, first you need to mark the section with the id attribute:
<h2 id="section-1">Section 1</h2>
The id attribute is used to identify the element you want to target with the navigation link. The value for the id attribute must be unique and surrounded by quotes. Once the element you want to jump to has been marked with an id, you can target it with the anchor tag <a> The hash character (#) is needed to tell the web browser that we are targeting a section of the same document.
<a href ="#s1">Jump to S1 </a>
<h2 id="s1">Section 1</h2>
by Guram Azarashvili
2 years ago
HTML
Single-page website
0
Pro tip: use ```triple backticks around text``` to write in code fences