HTML ol reversed Attribute
The HTML reversed Attribute
is a Boolean Attribute and used to ordered the list in Descending Order[9, 8, 7, 6 …..] instead of ascending order[1, 2, 3 ….].
Syntax:
- Content...
- Content... ...
- Content...
Example:
html
reversed attribute
h2, h2 { text-align: center; }
GeeksforGeeks
HTML ol reversed attribute
List of all computer Subjects are
|
Output:
Supported Browsers:
- Google Chrome
- Firefox
- Opera
- Safari
Article Tags :
HTML
Web Technologies
HTML-Attributes
Practice Tags :
HTML
Read Full Article
HTML reversed Attribute
HTMLWeb DevelopmentFront End Technology
The reversed attribute of the
- element in HTML is used to set reversed ordering of list items in an ordered list. It displays the numbering in descending order and introduced in HTML5.
Following is the syntax −
Let us now see an example to implement the reversed attribute of the
- element −