Probleme de validation XHTML 1.0 Transitional

Fermé
riders974 Messages postés 114 Date d'inscription dimanche 14 octobre 2007 Statut Membre Dernière intervention 19 mai 2012 - 18 août 2009 à 21:00
bertrand17 Messages postés 144 Date d'inscription dimanche 2 août 2009 Statut Membre Dernière intervention 6 novembre 2009 - 18 août 2009 à 21:19
Bonjour,

voila, j'essaie de valider mon site au norme XHTML 1.0 Transitional iso-8859-1 et je galère a faire valider une partie de la page. Voici les erreurs:

# Line 15, Column 10: document type does not allow element "noscript" here; assuming missing "object" start-tag
<noscript> <meta http-equiv="Refresh" content="0; url=?p=nojs&js=no" /> </no

# Error Line 15, Column 75: document type does not allow element "meta" here
…content="0; url=?p=nojs&js=no" /> </noscript><meta http-equiv="Refresh" c

The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
La première, je vois pas d'autre moyen de gérer mes sans <noscript> qui apparement est la cause! Donc, que vous me conseillez vous?


La deuxième, je comprend tout simplement pas l'erreur! Donc eclairer moi SVP. Le code complet est:
<meta http-equiv="Refresh" content="0; url=?p=nojs&js=no" />

Merci pour vos réponses XD

1 réponse

bertrand17 Messages postés 144 Date d'inscription dimanche 2 août 2009 Statut Membre Dernière intervention 6 novembre 2009 12
18 août 2009 à 21:19
bjr,
moi je peux t'aide mais faut le code entier...
je t'i envoyé un mp si tu veux
avec l'url de ton site se sera fait
0

Discussions similaires