Aide - Recherche - Membres - Calendrier
Version complète : Question Code
Forum Webmaster - Ton Webmaster > Général > Discussions générales
Raz
Bonjour a tous,
voila il me reste 3 errors sur mon site pour qu'il soit Valid XHTML 1.0 Transitional!
Donc je souhaiterais savoir comment y remédié car je trouve pas !

1er erreur:

CITATION
Error Line 30 column 6: end tag for "ul" which is not finished.

</ul>

Most likely, You nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p>

Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, <head> generally requires a <title>, lists (ul, ol, dl) require list items (li, or dt, dd), and so on.



2e Erreur:

CITATION
Error Line 33 column 3: document type does not allow element "li" here; missing one of "ul", "ol", "menu", "dir" start-tag.

<li><a href="http://www.z-tuto.com/">Accueil</a></li>

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



3e erreur:
CITATION
# Error Line 34 column 5: document type does not allow element "li" here; missing one of "ul", "ol", "menu", "dir" start-tag.

<li><a href="/forum" title="Forum!">Forum</a></li>


Merci a vous tous !
manhim
1 :
Tu doit fermer ton <ul> au bon endroit.

2 :
<a href="http://www.z-tuto.com/"><li>Accueil</li></a>

3 :
Faut qu'il ce retoruve dans un "ul", "menu", "ol" ou "dir" + idem que le #2
Raz
C'est t'y pas magnifique !


Merci je suis content smile.gif
Bravo
nonos
Oui enfin la validation ne veut pas tout dire. On peut faire un code valide mais pas du tout propre/correct.
Raz
Tu veux me démoralisé sad.gif
Bonne jourée biggrin.gif
C\'est une version "bas débit" de notre forum. Pour voir la version complète avec plus d\'information, la mise en page et les images, veuillez cliquez ici.
Invision Power Board © 2001-2012 Invision Power Services, Inc.