Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are nested HTML lists deprecated?

Tags:

html

The HTML 4 spec treats the following as a deprecated example (search for "DEPRECATED EXAMPLE"):

<UL>
     <LI> ... Level one, number one...
     <OL> 
        <LI> ... Level two, number one...
        <LI> ... Level two, number two...
        <OL start="10"> 
           <LI> ... Level three, number one...
        </OL> 
        <LI> ... Level two, number three...
     </OL> 
     <LI> ... Level one, number two...
</UL>

Why is this example deprecated?

like image 887
ezequiel-garzon Avatar asked Jan 31 '26 08:01

ezequiel-garzon


1 Answers

The start attribute is deprecated in HTML 4 (it is un-deprecated in HTML 5). Everything else about the example is fine.

like image 193
Quentin Avatar answered Feb 01 '26 23:02

Quentin