Quote:
Originally Posted by dwig
Also, since ePub is XHTML based the target anchor needs to identify itself with the ID attribute and not the old NAME attribute.
|
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>