Is HTML validation necessary for ranking?



Hi Matt, in a previous video you stated that validation of HTML wasn’t really important for ranking/SEO. This confuses me, would Google really want to send it’s users to websites which would be broken for a lot of them? Jimmy “@Feldon” Wirsborg, Stockholm, Sweden

Russian subtitles provided by Mike Shakin.

Note: the grammatical error was fixed in the video, but the question as submitted can be seen above.

Have a question? Ask it in our Webmaster Help Forum: http://www.google.com/support/forum/p/Webmasters?hl=en

Want your question to be answered on a video like this? Follow us on Twitter and look for an announcement when we take new questions: http://twitter.com/googlewmc

More videos: http://www.youtube.com/GoogleWebmasterHelp
Webmaster Central Blog: http://googlewebmastercentral.blogspot.com/
Webmaster Central: http://www.google.com/webmasters

source

35 thoughts on “Is HTML validation necessary for ranking?”

  1. If you take the time to build a website "by the rules" — so to speak, there should be an award (even if it's a small award) over those who cut corners building websites, breaking all the rules. What's the point of having "Web Standards" if no one abides by them? I understand your "grammar analogy" but Google can actually help make the web a better place by awarding those who actually follow the rules of the web.

  2. Provided the browser can load the page properly, the code doesn't necessarily have to be validated. I would also add that some websites have not been updated in a long time and were coded in what would be considered as outdated code. This code would likely be using some elements that have been deprecated but the browsers could still interpret that code and render properly. This code might not validate but is still usable.

  3. @ribeirobreno Nope, a good website is informative, entertaining, engaging and interesting. How it's coded to acheive that goal is of little importance to the user 😉

  4. Thanks for this video. Haha you wont believe it but one of our SEO clients called me today about their site and the errors it was getting and I explained it just like you did.

    I sent him a link of your video.

    Thanks Matt

  5. @aikighost Nope, one of my sites uses frameset. I didn't want to name it here because there's too many haters in the world, but what the hell, microbuild fullstop com

  6. @Carbontm JSo you are actually talking about AJAX & iframes rather than traditional frames then In which case I say ok, but most people who use frames are not programmers and use them badly.

  7. @aikighost Frames only suck if you don't know how to use them properly. The biggest moans I hear are that search engines will point to content pages which will then load without their surrounding frameset and that frames mess with browser navigation. I have a framed site and it does not suffer from those problems. What frames allow me to do, which otherwise would be very tricky, is to only load the content that changes.

  8. Aaahhhh, I'm either stupid or Matt and Danny got it wrong? They say that the question contains a grammatical error, but I can't find it! Matt read the question incorrectly though… ?? Confused

  9. @Carbontm well better them than the people who build websites that only works with IE6 because they think no one uses anything else and upgrading to a new version of IE is just to difficult to do…

  10. Thx for the answer, didn't really expect but hey guess what they do answer you if you ask them nicely ^^

    A followup would be if the code can be to broken. Tweeted Matt this and will wait and see if I get an answer. Would be fun to know if they use a rendering engine to check if the page is viewable and you could use that to see if the page works or not, independently of how it looks in the browsers.

  11. @ANDiTKO It's not my place to say, but if page B has more impact on the site, and has extremely superior content, then I wouldn't be surprised. A F.A.Q in a site of mine ranked ahead of the index page once due to the many insightful answers, but then I built backlinks for the index. 😉

  12. @Carbontm Well, I'm one of those people, yet my websites are perfectly fine. It's for sad little twats, such as yourself, that it becomes annoying, as you have no clue on how to solve stuff without hacking around. As long as you know how it works, it's not a problem. (Although I do hate people who support IE6, that's just insane)

  13. Ok thats a very good question that i was wondering about. But can you please answer to me this:

    If Page "A" has the same PR kewords/metadata/text as page "B" but page "B" has a valid code while page "A" dont. Will google show page "B" before "A" because it has valid code?

  14. I dislike the 'validation' police, you know the ones… they turn javascript off, max out their font size, view every page in 20 different browsers, hate tables, hate frames and always own a crappy website 😉

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top