2011-03-22

w3c validator fuckup: p tag inside li valid!

Perm url with updates: http://xahlee.org/js/w3c_html_validator_problem.html

“p” Tag in “li” as Valid HTML4

If you have “p” tag inside “li”, it's valid! Even in html 4 strict.

(Note that technically any ending tag of “p” and “li” can be omitted.)

Test page: W3C HTML Validation Problem: p in li.

With this situation, at this point, you wonder what's validator supposed to be anymore.