In xhtml/html am I allowed to put <p>, <h2> etc. tags inside <li></li> tags? I know this won't actually break the page, but is it semantically acceptable.
The answer may seem like an obvious "yes it's ok" but recently I was surprised to find out that putting text within a <blockquote> without also putting it in <p> tags is not allowed, so there are some pretty strict nesting rules around.
Cheers for any advice
Rhys








Bookmarks