Answers for "html anchor tag to same page"

7

link to section on page html

<!-- #top is the ID of the div where u wanna link to -->
<a href="#top">Go back to the top!</a>

<div id="top"></div>
Posted by: Guest on June-19-2020
1

link that scrolls down the page

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

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

Browse Popular Code Answers by Language