HomeMathComputingArtsWordsLiteratureMusictwitter facebook webfeed

W3C HTML Validator Invalid

Advertise Here For Profit

Xah Lee, 2011-03-15, 2011-03-22

The W3C HTML Validator is getting annoying.

Missing Open Tag as Valid

If you have a page without a opening “body” tag, but does have a closing one, W3C HTML validation report it as valid.

Maybe it's technically valid, but quite annoying.

Test page: W3 HTML Validation Problem: No Open Body.

XHTML Style “<br />” Tag as Valid HTML4

Another problem is that, if you use the XHTML style tag such as <br />, it's also reported as valid. W3C only gives a warning. However, this is technically invalid.

Test page: W3 HTML Validation Problem: Slash End Tag.

“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.

blog comments powered by Disqus