Descending list order:
The reversed attribute is a boolean attribute.
When present, it specifies that the list order should be descending (9,8,7...), instead of ascending (1, 2, 3...).
The numbers in the table specify the first browser version that fully supports the attribute.
Attribute | |||||
---|---|---|---|---|---|
reversed | 18.0 | Not supported | 18.0 | 5.2 | Yes |
The reversed attribute is new in HTML5.
In XHTML, attribute minimization is forbidden, and the reversed attribute must be defined as <ol reversed="reversed">.