Bonjour,
je veux faire valider une feuille de code XHTML ici http://validator.w3.org mais je trouve une erreur sur toutes mes pages:
"
1. Error Line 17, Column 67: document type does not allow element "div" here; missing one of "object", "ins", "del", "map", "button" start-tag
<div><a href="accueil.html"><div id="en_tete_orientation_generale"></div></a></div>
✉
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>").
"
Que dois-je faire pour corriger ca?
Cette ligne me sert a inserer une banniere dans mon CSS: je cree un bloc vide et je lui mets une image de fond, avec retour a l'accueil en cliquant sur l'image. J'ai essaye comme ca mais l'image n'apparait plus:
<div><a href="accueil.html"><span id="en_tete_orientation_generale"></span></a></div>
Merci de votre aide!
