Skip to main content

Oregon State Flag An official website of the State of Oregon »

Oregon.gov Homepage

Validating Your Code

Group Target - Developers

Overview

Using standards-compliant HTML increases the likelihood that all web browsers and assistive technologies will correctly handle your content. If your code contains errors or tags that are not part of the HTML specification, screen readers and other assistive technologies might fail when trying to render the content for users. Even pages that seem to look fine in a web browser might have unseen problems for assistive technology users.

There are many additional reasons to validate your HTML:

  • Validating mark-up can help in your debugging efforts if your web page exhibits unexpected problems.
  • Valid mark-up provides a better cross-browser, cross-platform, experience and gives you maximum control over how your page is displayed.
  • Valid mark-up will help with future compatibility as it will have the best chance of being backward-compatible with new technologies.
  • Properly formed HTML renders faster than HTML with errors. This means less load on servers and client browsers.
  • A site that validates using proper HTML is a sign of professionalism.

Techniques

External WCAG References

Most Details from this page were gleaned from the University of Washington's Accessible Technology section.