Horje
HTML reversed Attribute

Definition and Usage

The reversed attribute is a boolean attribute.

When present, it specifies that the list order should be descending (9,8,7...), instead of ascending (1, 2, 3...).


Applies to

The reversed attribute can be used on the following element:

Element Attribute
<ol> reversed

Browser Support

The numbers in the table specify the first browser version that fully supports the attribute.


How to add Descending list order - HTML reversed Attribute

Note: The reversed attribute of the ol tag is not supported in Edge prior version 79.
index.html
Example: HTML
<ol reversed>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol>

Output should be:

How to add Descending list order - HTML reversed Attribute




html reversed attribute

Type:
Develop
Category:
Web Tutorial
Sub Category:
HTML Attribute
Uploaded by:
Admin


Read Article
https://develop.horje.com/learn/1434/reference