Answers for "href link 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

open link on same page html

<!-- Same Page: -->
<a href="google.com">Link</a>
<!-- Different Page: -->
<a href="google.com" target="_blank">Link</a>
Posted by: Guest on April-16-2021

Browse Popular Code Answers by Language