Link to Internal Sections of a Page with Anchor Elements
Summary
a elements can be used to create internal links to different sections within a webpage.
To create an internal link, you assign a link’s href attribute to a hash symbol # plus the value of the id attribute for the element that you want to internally link to, usually further down the page. You then need to add the same id attribute to the element you are linking to.
The id is an attribute that uniquely describes an element.