Google Doesn’t Validate, Why Should I?

A few days ago (Ok, a week or so) Daze posted a piece of Javascript he wrote which will pop up a new window and load the W3C’s website validation service. You can read Daze’s post (and get the JS code here.

Having put it on my bookmarks toolbar, every so often when on a website I will press the button and see what errors I get on a website. I don’t tend to dig deep on the page, it’s just nice to see how crap some of the major players on teh interwebs really are. For example, loading iGoogle and pressing the buttons gives me sixty (yes, 6 0) errors and nine warnings. Facebook (when logged in on the homepage) isn’t so bad with 10 errors and two warnings.

Daze’s blog gives just 23 warnings, although he is in the middle of a new theme design having broken the old one. I think the worst I have found so far though is ePhotozine:

Eeeeeek!

Eeeeeek!

Just in case you can’t read that it says 409 errors, 13 warnings. Damn that’s mucho errors!

Why is getting your site validated against the W3C standards important? Well, it means that generally your website will display how you would expect it to in a Standards Compliant browser (anything except Internet Explorer (up to 7, 8 apparently plays by the rules!). Apart from that? Unless you’re an anal code junkie it’s really isn’t that important – as long as your website looks right in most browsers and the code isn’t bloated to buggery, don’t worry about it!

For your information, before you start pulling this blog apart, I have 19 errors, all created by either the Footnotes WordPress plugin, the SHARETHIS WordPress Plugin or the code given by YouTube to embed its videos on the blog.

Strangely, I have just installed Habari to play with and apart from the validator not liking the “hr” tag the system passes the test!

Does your blog or website validate? Do you care?

5 Comments

Andy C  on October 18th, 2008

No – just realised that my Disqus Javascript widgets breaks it. My vanilla Habari theme validates though and yes, I think it’s important.

Andy C´s last blog post..floating on air

Lloyd  on October 19th, 2008

Mine does…but it’s only very basic at the moment

Collin  on October 19th, 2008

Mate, I’m showing 23 errors on your site. I suspect that’s something to do with the first error I’m seeing though:

could not get “/TR/xhtml11/DTD/xhtml11-strict.dtd” from “www.w3c.org” (reason given was “Service Unavailable due to Unknown abuse from requesting IP”).

Don’t know what the hell that means!

Lloyd  on October 19th, 2008

well i’ve updated my site today so that might explain the errors.
I know that the _blank for the target isn’t xhtml compliant, just haven’t learned the other way to do it yet.
Plus sometimes frames can cause a problem

DAvid  on June 16th, 2009

Hi Collin,

I’m the IT Manager for ePHOTOzine and we came across your post a couple of days ago. Of course we were quite shocked at your findings and we quickly took action.

Although this post was little over 6 months ago, we still had around 230 errors on the homepage. We have completed the validation of the homepage today and have got it down to between 50-89 errors. Unfortunatly, some of the code that is displayed is from third party servers which we have no control over, however we have made sure all of our code on the homepage is validated.

We are also in the middle of a redevelopment and have applied validation techniques to newer areas and will be re-dueing other areas of the site in the coming months.

Thanks for pointing it out!

David

DAvid´s last blog post..Bowens Litebook magazine

Leave a Comment

Bad Behavior has blocked 453 access attempts in the last 7 days.