Clean up your code
For best results in SEO you must start with a cleanly coded website. The search engine spiders will find it easier to crawl and index your site if the code is clean.
There are other benefits of validating your code, these include:
- Cross browser compatibility
- Increased accessibility
- Faster loading times
You will probably find your site will start to climb the rankings once you ensure the site complies with the W3C (World Wide Web Consortium) web standards. It is important to check each page validates, and every new page you add to your website should be checked.
Validate your code
Use the W3C HTML validator to check your HTML code. The vaildator will give you prompts to help you fix any bugs it finds.
Use the W3C CSS validator to check your CSS. Again, the validator will help you fix any problems it finds.
By making sure your site validates for both HTML and CSS you are ‘future-proofing’ your site, ensuring long term success.