Element | Attribute | NMTOKENS | CDATA |
If the attribute type is not CDATA, then the XML processor must further process the normalized attribute value by discarding any leading and trailing space (#x20) characters, and by replacing sequences of space (#x20) characters by a single space (#x20) character. |
---|---|---|---|---|
class | X | |||
style | X | |||
html | xmlns | X | ||
input | value | X | ||
select | size | X | ||
option | value | X | ||
textarea | cols | X | ||
textarea | rows | X | ||
td,th | colspan | X | ||
td,th | rowspan | X |
class attribute: This must be italic
style attribute: this must be italic
input value attribute:
select size attribute   used for "2", both options should show:
textarea rows attribute: use Numeric character references for digits, the rows must be 20 and the cols 35:
td,th colspan attribute: use Numeric character references for digits, the 1st header must span both cols and the first cell of the third row must span both columns:
center | |
---|---|
left align | left align |
left align |
td,th rowspan attribute: use Numeric character references for digits, The second header must span both header rows. The first data cell must span both data rows.
center | center |
---|---|
center | |
left | left |
left |