I have a w3c validation error of an H3 in a list of the jquery feature list plugin. <ul id="tabs"> <li> <a href="javascript:;"> <h3 class="list">Zoekmachine optimalisatie</h3> <span>SEO is noodzakelijk voor online succes</span> </a> </li> </ul> Does anybody knows how to fix this, you can see it on my homepage. www.seolab.nl Thanks
Simple. Anchors cannot surround block level elements which is what a h3 is. btw, in html5 you can do this.
What did not work, switching to HTML5? Anchors (the A tag) is a inline level element, as drhowarddrfine said, it cannot HAVE and H3 inside it... or P, or DIV, or any other inline-level element. (Inline level is NOT the same thing as display:inline) Really, if this 'plugin' has markup that bad, you probably don't REALLY want to use it in the first place... Methinks you are resorting to that jquery crap for no good reason there. I've got no idea what you are using it for, but it can't be anything good.