HTML Links on Same Page
There are several instances in which you might want to allow the visitor to click on a link to quickly access a specific part of the page. These instances usually occur when you have a lot of content, which creates for a lot of vertical scrolling. Usually this type of same page link navigation is seen on FAQ pages, glossaries, indexes, and so on.
Here is how you structure the HTML portion to create links on the same page:
HTML Example
Access section 1
The section you want the above link to access
As you can see, we make the href attribute point to a custom section name preceded by a number sign.
And that's it! You first make the clickable link and reference the href attribute with a custom name, and then create another a tag using the name attribute with that custom name. That's how you create html links on the same page.
Share Tweet