MarkStrobel3367
Member
How do I go about having a text link direct the viewer to the part of the same page where that specific information can be found so that viewers do not have to do a lot of scrolling before reaching the desired info? Thanks.
Example:
The link...
HTML:<a href="#spot">Spot</a>
The spot on the page... The <div> can be also <h1> or something else...
HTML:<div id="spot">...Content...</div>
This will do the job.
<a href="#anchor">Goto Page Anchor</a>
...
<strong><a name="anchor">Anchor</a></strong>
I'd go with smoovo's method as the name attribute is limited. Can't be applied to divs.
-Lou
<a name="Lou"></a>
<div>....content...</div>
OR
<div>
<a name="Lou"></a>
....content....
</div>
How do I go about having a text link direct the viewer to the part of the same page where that specific information can be found so that viewers do not have to do a lot of scrolling before reaching the desired info? Thanks.