Loading...

Reversing and Re-ordering ol items in HTML

David Carr

1 min read - 20th May, 2020

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.

Every day I learn something new!! ? pic.twitter.com/GlllTYQCdn

— Álvaro Trigo ?? (@IMAC2) May 19, 2020

0 comments
Add a comment