21 July 2008 - 11:14amValidation
Today I decided to run my homepage through the W3C’s Validator. I found a couple errors (ampersands in URLs that needed to be converted to entity references and also some bugs in the way WordPress formats a post with misplaced <p> tags). I fixed them quick and then added the provided badge thing to my sidebar.
Then I was reading this article by Jeff Atwood on his blog, “Coding Horror,” in which he mentions that Google’s homepage has 63 validation errors. I think I did it once before, but just for kicks I decided to run Google through the validator to see how it’s doing these days. Check it out for yourself.
Now, considering the fact that Google employs some of the smartest people in the world, why on earth can they not manage to include a DOCTYPE at the beginning of their page?
Moving past that issue and manually selecting a DOCTYPE from the dropdown yields far less than satisfying results. What could you possibly be doing on such a simple page that you end up with 180 errors? Get one of your geniuses to fix them real quick. By the looks of the errors it would only take about an hour or so. I’ll even do it for you.
Does anyone else think that’s ridiculous?