Skip to content

Code validation on websites

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