Answers for "href open specific point of page"

2

go to id html

<a href="#sushi">Sushi</a>
<a href="#bbq">BBQ</a>

Sample section:
<div id='sushi'><a name='sushi'></a></div>
<div id='bbq'><a name='bbq'></a></div>
Posted by: Guest on December-08-2020
0

go to a specific header in a website

<p>This is some content.</p>
<h2><a id="target">Some Header</a></h2>
<p>This is some more content.</p>


# You could use the link <a href="http://url.to.site/index.html#target">Link</a>
Posted by: Guest on September-07-2020

Browse Popular Code Answers by Language