HTML and CSS Reference
In-Depth Information
•
The
reversed
attribute, which is exclusive to HTML5, allows us to specify the
list numbering in a descending order. This attribute doesn't come with any val-
ues.
Table 1.
Types of Ordered Lists
The following example will reverse the numbering in the list of top 5 movies:
<ol reversed>
<li>Frozen</li>
<li>Harry Potter</li>
<li>The Avengers</li>
<li>Titanic</li>
<li>Avatar</li>
</ol>

Search WWH ::

Custom Search