HTML reversed Attribute

❮ HTML Attributes

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

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



Browser Support




Status




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