Bonjour,
J'ai voulu valider ma page sur le W3C, voilà les erreurs qu'il trouve:
Line 6, Column 2: Element head is missing a required instance of child element title.
<link rel="stylesheet" href="design.css" />
Line 8, Column 9: Element title not allowed as child of element body in this context. (Suppressing further errors from this subtree.)
<title>Collection eWines</title>
Line 9, Column 7: Stray end tag head.
</head>
Line 11, Column 6: An body start tag seen but an element of the same type was already open.
<body>
Voici à quoi ressemble le début de mon code:
Quelqu'un a déjà eu ces erreurs? Je ne les comprends vraiment pas.
J'ai voulu valider ma page sur le W3C, voilà les erreurs qu'il trouve:
Line 6, Column 2: Element head is missing a required instance of child element title.
<link rel="stylesheet" href="design.css" />
Line 8, Column 9: Element title not allowed as child of element body in this context. (Suppressing further errors from this subtree.)
<title>Collection eWines</title>
Line 9, Column 7: Stray end tag head.
</head>
Line 11, Column 6: An body start tag seen but an element of the same type was already open.
<body>
Voici à quoi ressemble le début de mon code:
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf-8" />
<link rel="stylesheet" href="design.css" />
<script src="script.js"></script>
<title>Collection eWines</title>
</head>
<body>
...
</body>
</html>
Quelqu'un a déjà eu ces erreurs? Je ne les comprends vraiment pas.