Bonjour,
je valide mes pages html avec le w3c validator. J'ai 2 erreurs qui ressortent, je comprend l'erreur mais je ne sais pas comment les corriger.
Est ce que quelqu'un peut m'aider ?
Voici les erreurs :
etLine 19, Column 16: document type does not allow element "a" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag
<a href="/"><div class="logo"></div></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>").
Merci,Line 19, Column 34: document type does not allow element "div" here; missing one of "object", "ins", "del", "map", "button" start-tag
<a href="/"><div class="logo"></div></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>").
Alaninho
Partager