Answers for "how to create a link to a part of a page"

3

html a link to section on page

<!--1. create link tag with href containing "[#][section to direct] with name-->
<a href = #about-section>About</a>

<!--2. create identifier for the section you would like to navigate to with "id" = name-->
<section id = "about-section"> <h1>This is the about section</h1> </section>
Posted by: Guest on January-08-2021
1

link that scrolls down the page

<a href="#google"></a>

<div id="google"></div>
Posted by: Guest on September-12-2020

Code answers related to "how to create a link to a part of a page"

Browse Popular Code Answers by Language