Quote:
Originally Posted by Jellby
And you don't need to use an <a> for an anchor, you can add the "id" to whatever element, like a <p>, <h2> or <img>:
Code:
<p>This <a href="#target">link</a> wil take you to the next paragraph.</p>
<p id="target">This paragraph is the target of the previous link, and any other link that points to "#target".</p>
|
I'm not familiar with the id tag - is that what the hash mark in the href tag refers to? I notice there's not # in the anchor when <a= is used.