Does valid markup affect search performance?
Many web developers (particularly good ones) now code to standards laid out by the W3C. There are many reasons to do this including faster page rendering times, more easily maintainable code and improvements in accessibility. But does coding in well formed, valid markup make any difference to search optimisation/search ranking?
The official line (or nearest thing to it) is that valid pages are "generally" treated no differently to invalid ones. In this video from Matt Cutts (Go to about 2:40 in the video) he discusses the topic of valid markup in some detail and whilst he’s not completely black and white on the subject, Matt does give the impression that valid markup is not given special attention and is not currently used as a "signal" citing a report created by Inktomi co-founder Eric Brewer which estimates that at least 40% of the pages on the web have syntax errors. With this error rate search engines simply could not afford to discriminate against bad markup - how would Amazon and MySpace ever get anywhere (aside of course from thier massive link power);-).
That said, there are some real SEO benefits to coding with valid markup:
-
Indexability
The first part of the marathon that is an SEO campaign is getting web pages into a search engines index - this needs to happen before a page can rank at all. All things considered equal, it will be easier and quicker for a search engine bot to crawl valid, error free markup than it will be to crawl a page full of syntax errors. Syntax errors could also stop the bots from getting deeper into your site resulting a partial index of your pages.
-
Keyword placement
Generally speaking, valid markup (especially when paired with good css) is very lightweight - the code to content ratio is going to be lower than if you have some awful WYSIWYG code that uses nested tables, font tags and other nasties. Valid markup and layouts created with <div>’s and css are often associated with source ordered content. Both of these facts mean that potential keywords will be nearer to top of the page and therefore be more relevant in search ranking terms. Its important to note that these facts are by-products of valid markup and do not occur as a direct result of clean code.
-
Keyphrase emphasis
Generally - valid markup also means semantically correct markup. In other words you are going to naturally be using more of the html tags (such as headings and lists) that search engines give priority to when ranking a page. Sure you can still use these tags in invalid markup but its more likely that you will use them (and in greater frequency) when producing valid, semantically correct code.
-
Less chance of error
The very fact that a page validates means that all but the most obscure of syntax errors will not be present. Consider invalid markup such as this:
<p><b some really relevant and highly important keywords</b></p>
The fact that the closing angle bracket is missing from the opening bold tag means that search engine bots will interpret this content as html attributes and probably not index the words at all. Browsers will still render the markup above with differing results. Validating markup eliminates 99% of these errors. And - yes pedants, those should have been <strong> tags and not deprecated <b> tags!
So go ahead and validate your pages today - it might just be worth it!
Technorati Tags: web developers, W3C, accessibility, search optimisation, search ranking, Matt Cutts, Eric Brewer, SEO, valid markup, css, search ranking, semantically correct markup




September 12th, 2006 at 7:37 am
Does valid markup affect search performance?…
Discussion about whether producing html markup that conforms to the W3C specifications has any benefit to search ranking….
November 1st, 2006 at 8:24 pm
[...] When I first started this blog, my primary aim was to write content about SEO (Search Engine Optimisation). Its essentially what this blog and site is all about. The angle from which I write about SEO is that of standards compliancy, there are some very real correlations between achieving web standards and performing well in organic search results. My backgound is in web development and therefore web standards is natural angle for me to write from. [...]
September 13th, 2007 at 9:09 pm
This article is what I was looking for…thanks!
August 5th, 2008 at 9:06 am
[...] bad: Interview of Google’s Adam Lasnik on March 26, 2007 Indexability and keyword placement: Does valid markup affect search performance? clear and simple web development highly-visible Source ordering (not sure about this one!): Skidoo Too : Ruthsarian Layouts __________________ [...]