Code Errors – HTML

Sample web page created with no semantic errors.
Figure 1 Example of webpage that is well-defined using proper semantic rules.

HTML used to implement content on webpages follow a set of semantic rules.

These rules MUST be followed to reliably present the content correctly.

NOTE:

  • New to accessibility or uncertain of requirements, it will be helpful to review all sections below.
  • Already familiar with requirements, skip to the “Working Example” section for sample HTML, CSS and JavaScript (when needed), along with a working demo.