Validate your HTML/XHTML code by using W3C Validation Tool.
W3C Validation tools, validates Html or XHTML markup code with internation web standards. It helps you to determine possible errors in markup code that may cause confusion for search engine and results into slow or no search engine crawling. Correctly coded html will push your website into higher search engine rankings. It's one of the quality factors used by search engine like Google.