HTML
reversed property
-
tag
- Coffee
- Tea
- Milk
Example
Display the list order in descending order:
Try it »
Browser support





At present, only Chrome and Safari 6 support the reversed attribute.
Definition and Usage
The reversed attribute is a boolean attribute.
The reversed attribute specifies that the list order is descending (9, 8, 7...) instead of ascending (1, 2, 3...).
Differences between HTML 4.01 and HTML5
The reversed attribute is new in HTML5.
Differences between HTML and XHTML
In XHTML, attribute minimization is forbidden, so the reversed attribute must be defined as
-
.
Syntax
HTML
-
tag