HTML reversed Attribute

❮ HTML Attributes


<ol reversed>


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

HTML: <element reversed>
XHTML: <element reversed="reserved">

Browser Support


Applies to:

The reversed attribute can be used on the following element:

Element Attribute
<ol> reversed

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 Attributes