The Enumeration Attribute Type is defined by the W3C XML 1.0 Recommendation.
Reference: *W3C - XML 1.0 - Attribute Types
See also: the Boolean and Shape Attribute Types, which are declared in the DTD as type Enumeration.
align (left | center | right | justify | char):col, colgroup, thead, tfoot, tbody, tr, th, tdframe (void | above | below | hsides | lhs | rhs | vsides | box | border):tablemethod (get | post) - default="get":formrules (none | groups | rows | cols | all):tablescope (row | col | rowgroup | colgroup):th, tdtype (submit | button | reset) - default="submit":buttontype (text | password | checkbox | radio | file | hidden | image | button | submit | reset) - default="text":inputvalign (top | middle | bottom | baseline):col, colgroup, thead, tfoot, tbody, tr, th, tdvaluetype (data | ref | object) - default="data":paramIf present, the attribute must take one of the listed values
Attribute with the type Enumeration must be given a value equal to one of the possibilities listed in the definition for that attribute.
For example, the attribute scope of type Enumeration
(row | col | rowgroup | colgroup), if present, must take one of these four values, e.g. scope="row".
The default value is that given to an attribute which is not present on the element for which it is declared.
For example, if a
button element does not have the
type attribute provided then the value of "submit" is automatically
assigned to it. This means that<button>Button Text</button>
is equivalent to
<.button type="submit">Button Text</button>
See also: the Boolean and Shape Attribute Types, which are declared in the DTD as type Enumeration.