HTML reversed attribute

In order list, reversed attribute numbers the list items backwards (in descending order).

<ol reversed>
 <li>Australia
 <li>China 
 <li>USA
 <li>UK
</ol>
</>
  1. Australia
  2. China
  3. USA
  4. UK

Attribute values

All possible values of reversed attribute

reversed attribute is a boolean attribute.

Related Tags

The tags that support reversed attribute

<ol> tag

ol tag defines ordered lists where order of items is necessary.



Was this article helpful?