Pobleme validation Xhtml Css
Bonjour, je n'arrive pas a faire valider ces lignes :
Code:
1 2 3 4 5 6 7 8 9
|
<td class="style3">
<a href="#"><div id="bouton1"></div></a>
<a href="#"><div id="bouton2"></div></a>
<a href="#"><div id="bouton3"></div></a>
<a href="#"><div id="bouton4"></div></a>
<a href="#"><div id="bouton5"></div></a>
<a href="#"><div id="bouton6"></div></a>
</td> |
Voici les erreurs relatives a chaque ligne (la même erreur):
# Error Line 120 column 20: document type does not allow element "p" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag.
<a href="#"><p><div id="bouton1"></div></p></a>
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>").
✉