Does W3C Valid HTML / CSS Help SEO?



Above – Google Confirming this 2008 blog post advice.

Does Google rank a page higher because of valid code? The short answer is no, even though I tested it on a small scale test with different results.

Google doesn’t care if your page is valid html and valid css. This is clear – check any top ten results in Google and you will probably see that most contain invalid HTML or CSS. I love creating accessible websites but they are a bit of a pain to manage when you have multiple authors or developers on a site.

If your site is so badly designed with a lot of invalid code even Google and browsers cannot read it, then you have a problem.

Where possible, if commissioning a new website, demand at least minimum accessibility compliance on a site (there are three levels of priority to meet), and aim for valid html and css. Actually this is the law in some countries although you would not know it, and be prepared to put a bit of work in to keep your rating.

Valid HTML and CSS are a pillar of best practice website optimisation, not strictly search engine optimisation (SEO). It is one form of optimisation Google will not penalise you for.

Where can you test the accessibility of your website – Cynthia Says – http://www.contentquality.com/ – not for the faint hearted! :)

Addition – I will be following W3C recommendations that actually help seo;

Hypertext links. Use text that makes sense when read out of context. W3C Top Ten Accessibility Tips

If you enjoyed this post, please share :)


4 Responses

  1. John says:

    I’m so glad you mentioned this Shaun, this is quite possibly the most frustrating point I try to make to people who phone me up for SEO advice. In my experience the number of so called SEO companies who are using W3C compliance as a bargaining tool is crazy. When confronted with someone who is compliance-blinded I like to point them to This article at SEOmoz which marks W3C compliance as “Slight Importance”

  2. Shaun says:

    Yes – As much as it pains me I don’t think W3C validation makes a bit of difference to Google. As long as it can read it. I know a few seo companies who think W3C validation is key – LOL :) One things for sure – Google’s not penalising you for good code to my knowledge – so if I can, I try to keep it valid. Errors surface all the time though, even on a well kept site – why it’s best to keep things as imple as possible IMO :(

  3. css Lesson says:

    Cascading Style Sheets (CSS) web design lessons Css link Properties Attributes – examles http://css-lessons.ucoz.com/link-css-examples-1.htm http://css-lessons.ucoz.com/link-css-examples-2.htm

  4. wigwam advertising agency glasgow says:

    Nice one



Learn how you can get more sales from your website

Subscribe for free and let us share with you:

  • how to submit your site to Google, Yahoo & Bing
  • how to optimise your site to get more traffic from Google
  • how to target the most valuable keywords for your business
  • how to make your site rank better in free Google listings
  • how to rank high & avoid Google penalties in 2013

Trust Hobo with your SEO plan

Find out more