|
Originally Posted by startsphere
How would I make a link that would link to another page as well as go down to an anchor on that page that was linked to.
So i'm on "index.html". I want to make a link from there to "tophosts.html" and also bring u down to "#bottom" on the "tophosts.html" page. How do i do this? |
<a href="tophosts.html#bottom">Go to tophosts.html</a>
<p id="bottom">Here goes the bottom paragraph</p>
|
Originally Posted by cbsturg
Is there any advantage to marking page separations with the <p id=....>....</p> instead of <a name=...></a>.....?
I hate the new line carriage return </p> forces on the page, so I've always gone with the "a name" route. Is this one of those html taboos that only the serious guys know (like closing out the <input /> tags...)? |