Issue #10 - reversing ordered lists
You can reverse ordered lists by using the
- Curly Sue (1991)
- Uncle Buck (1989)
- She's Having a Baby (1988)
- Planes, Trains & Automobiles (1987)
- Ferris Bueller's Day Off (1986)
- Weird Science (1985)
- The Breakfast Club (1985)
- Sixteen Candles (1984)
reversed attribute in place, the visual order of list items stays the same, but they are be numbered from high to low.
You can also combine the
start attributes to change the number the list counts down from.
<ol reversed start="5">
The attribute has no effect on unordered lists (
ul), even if you change the type.
<ul reversed type="1">
Did you enjoy this tip?
Sign up for the HTMHell newsletter and receive an HTML tip or trick every week via e-mail.