Google and the (Continuing) Lack of Web Standards Compliance
April 1st, 2007Last year I wrote about Google’s lack of web standards compliance with their pages.
Today I noticed a comment on Mark Pilgrim’s site mentioning his DOCTYPE being off. My thought process was (yeah, I’m a geek): “Well he works for Google now, maybe I’ll check Google’s DOCTYPE to see if it’s similar.”
And this I did. The main page uses a regular old html tag - no DOCTYPE, no nothing. That’s fine, that actually makes sense to me. Going a little further though, I checked out Google Maps.
Hey, it’s XHTML 1.0 Strict! Cool, let’s see how it validates…
186 validation errors. One hundred and eighty-six validation errors .
This company has some of the best talent in the world. They employ Vint freaking Cerf for god sakes. 186 validation errors?
I can understand if they disagree with the W3C recommendations for some reason, but then why the XHTML Strict DOCTYPE, why the namespace and DTD? Why bother even declaring XHTML Strict if you are that far off the mark with it?

My site is served as HTML 5.
http://www.whatwg.org/specs/web-apps/current-work/#the-doctype
Can’t speak for official Google properties. Does seem like a waste of bits, though.