Using HTML according to spec

ID: H88

Technology: html

Type: Technique

When to Use

HTML

Description

The objective of this technique is to use HTML according to its specification. Technology specifications define the meaning and proper handling of features of the technology. Using those features in the manner described by the specification ensures that user agents, including assistive technologies, will be able to present representations of the feature that are accurate to the author's intent and interoperable with each other.

There are a few broad aspects to using HTML according to its specification.

Tests

Procedure

For each HTML page:

  1. Check that the page uses only elements, attributes, and attribute values that are defined in the specification.
  2. Check that elements, attributes, and values are used in the manner prescribed by the specification.
  3. Check that the page can be parsed correctly, according to the rules of the specification.

Check #1 and #3 are most easily checked with page validation tools. Check #2 can be checked with the assistance of heuristic evaluation tools though manual judgment is usually required.

Expected Results

Resources

Refer to the resources section of Validating Web pages.