WCAG 1.0 Double A Checkpoint 3.2

Skip Quick Links

“Create documents that validate to published formal grammars.”

Validating to a published formal grammar and declaring that validation at the beginning of a document lets the user know that the structure of the document is sound. It also lets the user agent know where to look for semantics if it needs to. The W3C Validation Service validates documents against a whole list of published grammars.

Checkmark icon Note: Declare the proper DOCTYPE at the beginning of the page, and be sure to validate your code using the W3C Validation Service!

DOCTYPE

The State of California has adopted XHTML 1.0 Strict as the approved formal grammar. The DOCTYPE for this grammar is:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

Reference

W3C Validation Service

WCAG: DOCTYPE