Hacker News new | ask | show | jobs
by rikacomet 4305 days ago
Certainly, there is no need to put <span> tags inside <div> tags, that is invalid HTML5 or at least according to W3C validator.No offense meant to the author. Peace!
1 comments

I don't think there is anything wrong with span inside div. The other way is a problem though.

But http://validator.w3.org doesn't give me errors about spans or divs. It just gives errors with attributes.