Blog

Reverse order numbered list in html?

With HTML, you can make a numbered list by doing the following:

< OL >

< LI >apples

< LI >bananas

< LI >cranberries

< LI >oranges

< /OL >

Which appears like this:

  1. apples
  2. bananas
  3. cranberries
  4. oranges
But is there a numbered list in HTML where the numbers go in reverse order? Starting with the biggest number first and ending with 1?

Happening right now on Spudart: Press a leaf in an envelope with the date and story written on it until 2026-10-31

Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

4 Comments
oldest
newest most voted
laura k.
laura k.
22 years ago

not that i know of. what you refer to is basic HTML. probably you could make a customized list if you used XML or Javascript or something. i’m not as fancy-pants as that, myself. i’m still learning. there’s always more to learn. why would you want a backwards list anyway?

Ross Shannon
17 years ago

There’s a JavaScript solution here: reversed HTML lists.

Captain Crip
Captain Crip
15 years ago

I also need to find a way to do reverse lists. I’ve got an archive of 50 .pdfs that have been published one month at a time for the past few years. Now the client wants them listed from most recent to earliest. Would be helpful if there is a solution.