[validation HTML probleme avec li
Salut a tous,
je suis en train de faire valider une page avec le WAC calidator mais j'ai un probleme et j en evoi spas comment y remédier:
voi ci le code:
Code:
1 2 3 4 5 6 7 8 9 10 11 12
| <div align="left" class="fichetechmanga">
<li><span class="bold">Auteur: </span>Yuu WATASE</li>
<li><span class="bold">Dessinateur: </span>Yuu WATASE</li>
<li><span class="bold">Tomes paru en france: </span>7 (terminée)</li>
<li><span class="bold">Tomes paru au japon: </span>7 (terminée)</li>
<li><span class="bold">Tomes critiqués sur le site: </span>7/7</li>
<li><span class="bold">Editeur: </span>Glénat</li>
<li><span class="bold">Genre: </span>Shôjo</li>
<li><span class="bold">Note visiteur: </span> <img src="../imagesite/noir/etoileplein.jpg" height="15"><img src="../imagesite/noir/etoiledemipleine.jpg" height="15"><img src="../imagesite/noir/etoilevide.jpg" height="15"><img src="../imagesite/noir/etoilevide.jpg" height="15"><img src="../imagesite/noir/etoilevide.jpg" height="15"> <a href="#notez">Vous aussi notez et donnez votre avis</a></li>
</div> |
et l'erreur qui m'es renvoyé:
Citation:
Line 116 column 9: document type does not allow element "LI" here; missing one of "UL", "OL", "DIR", "MENU" start-tag.
<li><span class="bold">Auteur: </span>Yuu WATASE</li>
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").