Optimizing your HTML
There are three steps to cleaning up your HTML files while you are coding in HTML.
1) Validate your HTML using the free w3C validation service. Validating your HTML provides cleaner HTML code and prevents search engine bots from innacurately reading your pages. Validated code also eliminates useless tags, and can decrease your document's filesize, eliminating wasted bandwidth.
2) Ensure Compatibility - Try to make your HTML code compatible with as many internet browsers as possible. Right now, the Big Two are Microsoft Internet Explorer (MSIE) and Mozilla Firefox, but it is useful to optimize for older versions of these browsers (many new HTML tags are incompatible with these browsers), as well as other browsers like Opera and Netscape.
3) Eliminate Excessive Whitespace Excessive whitespace is unnessary and keeps your content lower on the page than is necessary. Eliminating excessive whitespace is therefore marginally useful to Search Engine Optimization.
About the Author
David Saharkhiz writes HTML coding tutorials for novice webmasters.