HTML | Tutorials

David Carr

Reversing and Re-ordering ol items in HTML

I've just learned you can alter HTML ol items. You can reserver the order and change the starting number.

Thanks to @IMAC2 for this tip.

To reverse the order add <ol reversed>

To change the starting number add a start <ol start='15'> which tells HTML to start the number at 15.

Support my work by donating with PayPal.

Subscribe to my newsletter

Subscribe and get my books and product announcements.

© 2009 - 2021 DC Blog. All code MIT license. All rights reserved.