Se connecter avec
S'enregistrer | Connectez-vous

Probleme Validatio WC

Dernière réponse : dans Programmation

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

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


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



Citation :
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 :

  1. <form action="./recherche.php" method="post" id="recherche">
  2. <div>
  3. <input type="text" name="requete" value="Rechercher..." id="txt_recherche" onfocus="recherche()" />
  4. <input type="submit" id="btn_recherche" src="../images/bouton_ok.gif" />
  5. </div>
  6. </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 ;) 

Autres pages sur : probleme validatio

Lassé par la pub ? Créez un compte

salut, je ne saurais trop t'aider étant assez sceptique quant à cette validation W3C permettant principalement pour moi à m'arracher les cheveux.
Je sais une chose, la page d'accueil de google qui est très simple comporte 42 erreurs selon la norme W3C. Cette norme est faite pour les réels geeks et je te souhaite bonne chance tu en auras besoin

Si j'arrive pas a la corriger tant pi c'est pas super grave mais en fait ce qui me tracasse c'est que je ne comprend pas d'ou sort 2affbff0a3e06fc108134e6cde01f192

Sur le code source je n'ai pas ça mais la le validateur me retrouve cette chaine 3 fois ...

Bref merci d'avance pour vos explication
Lassé par la pub ? Créez un compte
Tom's guide dans le monde