Output
- Switzerland
- United Kingdom
- United States
- Norway
Sample Code
This is a demo for Elements/Grouping content and reversed attribute on the ol element.
The reversed attribute is a boolean attribute. If present, indicates that the list is a descending list (..., 3, 2, 1).
If not present, indicates that the list is an ascending list (1, 2, 3, ...).
<li>Switzerland
<li>United Kingdom
<li>United States
<li>Norway
</ol>
The reversed attribute is a boolean attribute. If present, indicates that the list is a descending list (..., 3, 2, 1).
If not present, indicates that the list is an ascending list (1, 2, 3, ...).
HTML :
<ol reversed='true'><li>Switzerland
<li>United Kingdom
<li>United States
<li>Norway
</ol>