View Single Post
Old 03-03-2011, 06:38 PM   #5
AndrewH
Fanatic
AndrewH ought to be getting tired of karma fortunes by now.AndrewH ought to be getting tired of karma fortunes by now.AndrewH ought to be getting tired of karma fortunes by now.AndrewH ought to be getting tired of karma fortunes by now.AndrewH ought to be getting tired of karma fortunes by now.AndrewH ought to be getting tired of karma fortunes by now.AndrewH ought to be getting tired of karma fortunes by now.AndrewH ought to be getting tired of karma fortunes by now.AndrewH ought to be getting tired of karma fortunes by now.AndrewH ought to be getting tired of karma fortunes by now.AndrewH ought to be getting tired of karma fortunes by now.
 
Posts: 553
Karma: 1234566
Join Date: Jul 2010
Location: Vancouver, WA
Device: Sony PRS-T1, & Kobo Mini
Quote:
Originally Posted by Jellby View Post
Nested tags are not illegal, unless you mean something different. There's absolutely nothing wrong in adding the "id" attribute to any existing tag, and it's in fact preferred (rather than adding an empty dummy <a> tag just to hold the "id" attribute):

<a id="fnt-2-1" href="../Text/Section0008.xhtml#fn-2-1">[4]</a>
<a id="fn-2-1" href="#fnt-2-1">4</a>
<p id="fn-2-1"><a href="#fnt-2-1">4</a>

are all fine.
As long as it works and doesn't throw any errors. Sigil was splitting my IDs from my HREFs and when I looked at HTML referrences sites I was lead to believe they couldn't share the same A element.
AndrewH is offline   Reply With Quote