Bon, mon code HTML est très simple. Il commence par :
Et le validateur du WC3 m'indique pourtant :
Modifié par Sylvain (11 Feb 2013 - 11:45)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//FR""http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><html>
<head>
<style type="text/css">@import url("styles.css");</style>
</head>
<body>
Et le validateur du WC3 m'indique pourtant :
a écrit :
Line 4, column 6: end tag for "HEAD" which is not finished
</head>
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 (e.g. 'ul') which requires a child element (e.g. 'li') that you did not include. Hence the parent element is "not finished", not complete.
Modifié par Sylvain (11 Feb 2013 - 11:45)