There has been a lot of discussion about the importance of valid HTML, XHTML, etc. lately. Here is what you need to know:
1) By definition 'Valid HTML' means that the coding meets all W3C standards ( http://validator.w3.org/). There is a distinct difference between Valid HTML and working HTML. It is important to understand the difference.
2) Working HTML means that a text browser ( http://lynx.isc.org/) can render a web page from start to finish. Internet Explorer and Firefox are not text browsers. They are graphical browsers.
3) Different versions of HTML markup use different variations of certain codes or exclude certain tags or attributes. Search engines do not care if you mix and match as long as your HTML will work properly in a text browser. For example, Google does not differentiate between <br> and <br />.
4) Graphical browsers like Firefox and Internet Explorer will 'fix' or render properly some errors that will have a major impact on a text browser or search spider. For example, an improperly coded A HREF tag may render fine in a graphical browser but in a text browser the same code could extend the offending link all the way to the bottom of the document and include in that offending link's anchor text all the document text that follows, including any additional links that were supposed to have occurred.
5) You cannot always tell from a search engine's cache when crawl errors occur. Search engine caches pretty much regurgitate HTML markup so if the original looks good in a graphical browser chances are the cache will look good too, even when there really is an underlying error.
6) While it is not necessary to W3C validate your markup (HTML code) it is a good idea to do so. It ensures clean markup and that the search engines will succeed in their work. Like good programmers use REM (Remark) statements to document their code and keep track of their work, validation is not required, it's just smart.
Think of the guy at Boeing who installs the same screws into every airplane and has installed those same screws into 300 jets. He still logs every screw he installs. Logging those screws doesn't make the plane fly better. But it does help to keep track of things and to avoid costly future errors. Likewise, validation is a good habit to get into.
Last edited by SEOcritique.com; 01-18-2007 at 03:31 PM..
|