DEV Community

Discussion on: What s wrong with webdesign...

Collapse
 
violet profile image
Elena

This is ok for simple cases. But what, if you need to start at 2 or need a different numbering step 10, 20, 30… Or a different number formatting?

You can use <ol start="2"> to start from 2. There's also the reversed attribute to reverse the order. If you want to have a list that counts from 10 to 20, 30, you can use css counters, for example counter-increment: count 10.

Check this youtube tutorial for modern css and html ways of doing things.

Collapse
 
efpage profile image
Eckehard

That´s what i mentioned. Instead of a generic, universal tool you end up with tons of "modifiers" to cover any possible case. Next day you want a different type of fancy list numbering and your done again...