Using valid, standards-compliant HTML increases the likelihood that all web browsers and assistive technologies will correctly handle your content.
For an overview of this issue, see Validation in our IT Accessibility Checklist.
There are many reasons to validate your HTML:
- Validating markup increases the likelihood that browsers and assistive technologies will properly handle your content.
- Validating markup can help in your debugging efforts if your web page exhibits unexpected problems.
- Valid markup provides a better cross-browser, cross-platform, experience and gives you maximum control over how your page is displayed.
- Valid markup will help with future compatibility as it will have the best chance of being backward-compatible with new technologies.
- Valid markup renders faster than markup that has errors. This means less load on servers and client browsers.
- A site that validates using proper HTML is a sign of professionalism.
Techniques
- Use the W3C Markup Validation Service to check your HTML against current web standards.
- Use the W3C CSS Validation Service to validate your Cascading Style Sheets.
- Use a variety of the tools listed on our Tools and resources page. Some of the tools listed check for HTML validation in addition to other accessibility issues.