> The reversed attribute is used to reverse ordered lists (<ol>) in the opposite order.
Holy shit that’s been a thing for ten years and I didn’t know about it??
Holy shit that’s been a thing for ten years and I didn’t know about it??
To be clear, it only makes the numbers descending rather than ascending. The phrasing above implies it rearranges the list.
(I’d actually completely forgotten it was a recent addition rather than from the pre-HTML-5 era.)
<ol reversed>
<li>Three
<li>Two
<li>One
</ol>
<ol>
<li value=3>Three
<li value=2>Two
<li value=1>One
</ol>
Note also that reversing content via CSS is generally unwise, because things like screen readers, text selection and tab indexing operate on DOM tree order.