[W3C] tableau validateur w3c
bonjour,
voici mon code :
Code:
1 2 3 4 5 6 7 8 9 10 11 12
| <table>
<thead>
<tr>
<th>Nom</th>
<th>Age</th>
<th>Pays</th>
</tr>
</thead>
<tbody id="CorpsTab">
</tbody>
</table> |
le validateur w3c me met ce message d'erreur :
Citation:
Error Line 433 column 10: end tag for "tbody" which is not finished.
</tbody>
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.
=> si je mets des lignes et des colonnes dans la section tbody, je n'ai plus l'erreur : comment l'enlever ?
Remarque : je remplis mon tableau grace a du javascript.