Why Using Valid HTML is Important


Most web sites are written in HTML. HTML has its own grammar, vocabulary and syntax rules, and every document is supposed to follow these rules. Like any language, HTML is constantly changing. As the language becomes increasingly more complex, it is very easy to make mistakes. HTML code that does not follow the official rules is invalid as far as spiders are concerned, and this detrimental to your website.

It is important to maintain your site because search engine crawlers (spiders) obey the HTML standard. They can only index your web site if it is compliant with the rules. If there is a mistake, they might stop crawling your web site and then drop the data they have collected on your web page.

Fortunately, there are free services that allow you to check the validity of your HTML code. The most common HTML validator is the one from W3C School. Go to "www.validator.w3.org". Enter your web address and the validator will tell you what errors are on the page. Valid HTML code makes it easy for search engine spiders to index your site, so make sure it has no mistakes to may cause them to halt.