HTML <ol> reversed Attribute

❮ HTML <ol> tag

Example

<ol reversed>
  <li>One</li>
  <li>Two</li>
  <li>Three</li>
</ol>

Meaning

The reversed attribute specifies that the counting of the list should go in reverse order.

CSS counters provide much more functionality than this attribute, but it is useful in the absence of this more complicated syntax.


Standard Syntax

<ol reversed>



Browser Support




Status







Attribute Values

Value Description
reversed This is a boolean attribute, the presence of a boolean attribute on an element represents the true value, and the absence of the attribute represents the false value.
❮ HTML <ol> tag