Help !! erreurs xhtml svp
luwill
-
fiddy Messages postés 11069 Date d'inscription Statut Contributeur Dernière intervention -
fiddy Messages postés 11069 Date d'inscription Statut Contributeur Dernière intervention -
Bonjour,
je suis étudiante (dut service et réseau de communcation 1ère année), et je dois programmer, dans le cadre d'exercices, en xhtml, et ma page comporte deux erreurs que validator me désigne comme ceci :
# Line 11, Column 23: document type does not allow element "table" here.
<table width="100%" >
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).
# Error Line 41, Column 9: end tag for "table" which is not finished.
</table>
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, in HTML the <head> element must contain a <title> child element, lists (ul, ol, dl) require list items (li, or dt, dd), and so on.
je vous serais très reconnaissante de bien vouloir m'aider car je n'arrive pas à comprendre mes erreurs.
je suis étudiante (dut service et réseau de communcation 1ère année), et je dois programmer, dans le cadre d'exercices, en xhtml, et ma page comporte deux erreurs que validator me désigne comme ceci :
# Line 11, Column 23: document type does not allow element "table" here.
<table width="100%" >
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).
# Error Line 41, Column 9: end tag for "table" which is not finished.
</table>
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, in HTML the <head> element must contain a <title> child element, lists (ul, ol, dl) require list items (li, or dt, dd), and so on.
je vous serais très reconnaissante de bien vouloir m'aider car je n'arrive pas à comprendre mes erreurs.
A voir également:
- Help !! erreurs xhtml svp
- Une ou plusieurs erreurs sont présentes dans le formulaire. merci de rectifier votre saisie en vous aidant des aides disponibles. - Forum VB / VBA
- Impossible d'installer java les commutateurs suivants comportent des erreurs ✓ - Forum Java
- Redémarrer pour réparer les erreurs de lecteur - Forum Windows 8 / 8.1
- J'ai le même probleme... si quelqu'un peut m'aider - Forum Facebook
- Erreur d'installation JAVA ✓ - Forum Logiciels