Mobile app version of vmapp.org
Login or Join
Caterina187

: Does valid HTML, CSS and/or XML affect SEO? Can a page's HTML validity affect search engine optimization (SEO)? Assuming all other factors are exactly equal, will an HTML document with 0 errors

@Caterina187

Posted in: #Html #Seo #Validation

Can a page's HTML validity affect search engine optimization (SEO)?

Assuming all other factors are exactly equal, will an HTML document with 0 errors and 0 warnings (W3C provides a tool to validate your HTML validator.w3.org) rank better than a page with 20 errors and 10 warnings?

Does markup validity apply to CSS and RSS as well?

10.04% popularity Vote Up Vote Down


Login to follow query

More posts by @Caterina187

4 Comments

Sorted by latest first Latest Oldest Best

 

@Murray155

If no information is lost and the rendering is not badly broken, valid HTML is not that important for ranking/SEO.

Watch this video from Google Webmasters Help for a better explanation: Is HTML validation necessary for ranking?

10% popularity Vote Up Vote Down


 

@Merenda212

For websites, following the spirit of the rules is more important than getting a perfectly validating page. (Once the site works as intended, getting 100% validation may be a waste of effort.)

Said another way: don't optimise for search engines - optimise for humans and ultimately an increased search position will follow.


However, when it comes to RSS, invalid XML might prevent your feed from being syndicated by clients, so less people will see your articles, visit your site, and thus can't share with others - so it's a good idea to make sure that your RSS works fully.

10% popularity Vote Up Vote Down


 

@Kristi941

Having valid HTML and/or CSS probably isn't a ranking factor. However, it is recommended that your code validate as it helps to ensure your content is properly crawled and indexed. Invalid HTML code can break a crawler just like it can break in a browser. As a result you should try your best to ensure your code is valid and easily read/crawled/interpreted by the search engines.

10% popularity Vote Up Vote Down


 

@Dunderdale272

Even the great Google.com homepage has W3C errors. Its good to have little to no errors but will this help your search engine rankings....?

Probably not. There are over 200 ranking factors and clean code is surely one of them. But it will have very little if any affect on SERPS. There are more important factors....

You need to make sure your onpage optimization is up to par:
1)page titles
2)url structure
3)meta
4)content
5)images

and so on and so forth.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme