Quote:
Originally Posted by eggheadbooks1
I added three anchors within a chapter so that I could create links to them in the NCX TOC. When I check the file in Sigil (F7), no errors arise. However, when I validate the file in Pagina's ePub-Checker (the IDPF's site is down right now), I get an error for each anchor:
"Error while parsing the file 'element "a" not allowed here; expected the element end-tag or element "address", "blockquote"... [and so on]."
The code for the anchor, and its position, is this:
Code:
<a id="Links"></a><p class="Left">FOLLOW LINKS</p>
I tried moving the closing </a> to the end of the line but that did not work.
Any ideas what I am doing wrong?
Thanks
|
I'd suggest moving the <a></a> tags within the </p></p> tags.
Code:
<p class="Left"><a id="Links"></a>FOLLOW LINKS</p>
FlightCrew and EpubCheck running as Sigil plugins are both happy with that structure.