HTML ol reversed property
Examples
The list in descending order:
<ol reversed>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol>
try it"
Browser Support
Currently only supports Chrome and Safari 6 reversed attribute.
Definition and Usage
reversed attribute is a Boolean attribute.
reversed attribute specifies the list in descending order (9, 8, 7 ...), rather than ascending order (1, 2, 3 ...).
Differences between HTML 4.01 and HTML5
reversed attribute is new in HTML5 attributes.
Differences between HTML and XHTML
In XHTML, prohibit attribute minimization, reversed attribute must be defined as <ol reversed = "reversed">.
grammar
<ol reversed>
HTML <ol> tag