Allowed attribute values (attribute-allowed-values)

Validates attributes for allowed values.

Rule details

Examples of incorrect code for this rule:

<input type="foobar">
1:8 - Attribute "type" has invalid value "foobar"

Examples of correct code for this rule:

<input type="text">