Coming from a software engineering background it is sometimes disappointing to see that many web sites are poorly coded, containing incorrect and bloated HTML. This article aims to explain why creating good HTML source code, though not being a direct ranking factor, can help the search engines in their analysis of your pages.
All programming languages have semantic and syntactic rules that must be followed if the program is to run correctly, and HTML script is no exception. Unlike ’strict’ programming language compilers, web browsers can be very ‘loose’ in their interpretation of HTML, leading many web developers to take short cuts and ignore HTML code compliance. From the very beginning of the WWW, the W3C has defined the HTML script language and provides the W3C Validator to aid developers in creating compliant code.
HTML validation can be helpful to SEOs as it can outline code errors, missing alt attributes, incorrect and elements and tags and character encoding issues. A web page that successfully validates will have a better chance of displaying consistently across compliant web browsers. For the search engines, processing time and resources will be saved when extracting markup and reduces the chance that content will be stripped out along with the markup.























