text link to paragraph

liunx

Guest
I need to have a link from text catagories at the top of the page to each paragraph further down the page. How??<br />
<br />
Thanx<br />
<br />
Lisa<!--content-->You need to use anchors:<br />
<br />
<a href=http://www.webdeveloper.com/forum/archive/index.php/"#one">Go to one</a><br />
<a href=http://www.webdeveloper.com/forum/archive/index.php/"#two">Go to two</a><br />
<p>a bunch of your content goes here...</p><br />
<a name="one"></a><p>This is where the first link will go to</p><br />
<a name="two"></a><p>This is where the second link will go to</p><!--content-->The above method is a backward compatible method. I would recommend using it. However, a purist will recommend the following:<br />
<a href=http://www.webdeveloper.com/forum/archive/index.php/"#one">Go to one</a> |<br />
<a href=http://www.webdeveloper.com/forum/archive/index.php/"#two">Go to two</a><br />
<p>a bunch of your content goes here...</p> <br />
<p id="one">This is where the first link will go to</p> <br />
<p id="two">This is where the second link will go to</p><br />
<br />
(The | separating the two links is to improve accessibility of your page. Two links should be separated by a separator other than blank space, non-breaking space (&nbsp;) or line feed (<br>). Hence the | to separate the two)<!--content-->
 
Back
Top