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.
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...
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
You can use
<ol start="2">
to start from2
. There's also thereversed
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 examplecounter-increment: count 10
.Check this youtube tutorial for modern css and html ways of doing things.
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...