Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to start ordered list from 2 not 1 with w3c validity and IE 6 compatibility?

Tags:

css

How to start ordered list from 2 not 1?

with all browser compatibility including IE6 and html css should bevalid

like image 633
Jitendra Vyas Avatar asked Oct 23 '25 07:10

Jitendra Vyas


1 Answers

This can be done via HTML directly with the start attribute

<ol start="2">
  <li>item two</li>
  <li>item three</li>
</ol>

It is not possible with CSS only, and it seems like IE doesn't support the start attribute …

like image 138
knittl Avatar answered Oct 25 '25 20:10

knittl



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!