Bonjour a tous

j'ai un petit probleme

J'ai testé mon site avec le W3C validator xhtml 1.0 strict. Il me reste 3 erreures (les 3 mêmes) mais je ne comprend pas comment les retirer

a écrit :
Line 43, Column 172: document type does not allow element "input" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag

…"2affbff0a3e06fc108134e6cde01f192" />

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>").



a écrit :
Line 275, Column 146: document type does not allow element "input" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag

…"2affbff0a3e06fc108134e6cde01f192" />

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>").



a écrit :
Line 383, Column 190: document type does not allow element "input" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag

…"2affbff0a3e06fc108134e6cde01f192" />

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>").



Il semblerait que le probleme vienne de mes input

voici le formulaire de la premiere erreure :


<form action="./recherche.php" method="post" id="recherche">
	<div>
	<input type="text" name="requete" value="Rechercher..." id="txt_recherche" onfocus="recherche()" />
	<input type="submit" id="btn_recherche" src="../images/bouton_ok.gif" />
	</div>
</form>




Je ne comprend pas d'ou sort 2affbff0a3e06fc108134e6cde01f192 car je n'ai nul part cette chaine étrange quand je fais un affichage du code source ...

Merci de m'aider Smiley cligne
Modifié par fungio (03 Jun 2009 - 15:11)
Edit bon ba ça vennait du PHPSESSID

j'ai cherché comment le retirer sous OVH

J'ai rajouté ceci dans le .htaccess

SetEnv SESSION_USE_TRANS_SID 0

Voila voila merci