Liste imbriquées refusées par le W3C ?

Liste imbriquées refusées par le W3C ? - HTML/CSS - Programmation

Marsh Posté le 30-04-2006 à 11:17:03    

Hi all,
 
J'ai remarqué que le W3C n'accepte pas les listes imbriquées du type:
 

Citation :


 
<ul id="truc">
<li><a href="#">Menu</a></li>
<li id="menu_gauche_liste_actif">hehe</li>
<ul id="menu_gauche_sous_liste">
<li><a href="#">lalala</a></li>
<li id="menu_gauche_sous_liste_actif">lalala2</li>
</ul>
</li>
<li><a href="#">hop</a></li>
<li><a href="#">bof</a></li>
</ul>
 


 
Il m'indique :
 

Citation :


document type does not allow element "ul" here; assuming missing "li" start-tag.


 
concernant "<ul id="menu_gauche_sous_liste">"
 
Quelqu'un saurait-il m'aider à résoudre cette validation ?
 
Merci  :hello:


Message édité par ANViL le 30-04-2006 à 11:17:37

---------------
Easy Ridin'  ⎝⏠⏝⏠⎠  
Reply

Marsh Posté le 30-04-2006 à 11:17:03   

Reply

Marsh Posté le 30-04-2006 à 12:06:54    

<ul>
    <li>
        <ul>
            <li>
                <ul>
                    <li></li>
                </ul>
            </li>
        </ul>
    </li>
</ul>


---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box, and replicate and expand beyond their wildest dreams by throwing away the limits imposed by overbearing genetic r
Reply

Marsh Posté le 30-04-2006 à 13:59:18    

Ah waip ok  ;)
 
Merci.


Message édité par ANViL le 30-04-2006 à 13:59:49

---------------
Easy Ridin'  ⎝⏠⏝⏠⎠  
Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed