Bonjour à tous,

j'ai utilisé l' excellent outil "Squelettor" pour générer un gabarit html, mais le validateur W3C s'obstine à me renvoyer une erreur.
J'imagine que cela n'aura aucune incidence sur le reste du code, mais qqn pourrait-il m'éclairer sur ce problème.

Voici le code:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

<html lang="fr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title></title>
</head>
<body>

<!-- Document -->

</body>
</html>

Voici le résultat du validateur:
Line 13, Column 7: end tag for "BODY" which is not finished
</body>
&#9993;
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 require appropriate list items (<ul> and <ol> require <li>; <dl> requires <dt> and <dd>), and so on.

Smiley ohwell
C'est simplement parce que le <body></body> est vide Smiley cligne

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

<html lang="fr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title></title>
</head>
<body>

<!-- Document -->
<p>toto</p>
</body>
</html>


Ca passe Smiley cligne