Click to See Complete Forum and Search --> : Need Help, But I Don't Know The Name Of What I Need Help With :P


grd
09-28-2006, 09:51 AM
I'm guessing this is really easy to do, and I would be able to find tuts on it if I knew what it was called.. but as I don't know the name I'm having much difficulty finding anything..

I have a list of titles relating to segments on my page, I want to link the titles to the relating places on the page. So like when I click on Introduction the screen will move to the introduction..

How do I do this, and what is it called?

ray326
09-28-2006, 10:12 AM
Those are called named anchors, although the proper way to do them is with IDs rather than names. Something like so.

<a href="#intro">Introduction</a>
...
<h3 id="intro">Introduction</h3>
<p> ... introductory text ... </p>