Link to section of page HTML code example
Example 1: html a link to section on page
<a href = #about-section>About</a>
<section id = "about-section"> <h1>This is the about section</h1> </section>
Example 2: link to section on page html
<a href="#top">Go back to the top!</a>
<div id="top"></div>
Example 3: go to id html
<a href="#sushi">Sushi</a>
<a href="#bbq">BBQ</a>
Sample section:
<div id='sushi'><a name='sushi'></a></div>
<div id='bbq'><a name='bbq'></a></div>
Example 4: link that scrolls down the page
<a href="#google"></a>
<div id="google"></div>