Erreurs w3c

Fermé
corentin.bc Messages postés 389 Date d'inscription dimanche 8 février 2015 Statut Membre Dernière intervention 4 novembre 2022 - 19 févr. 2016 à 20:29
telliak Messages postés 3655 Date d'inscription mercredi 20 septembre 2006 Statut Membre Dernière intervention 27 mars 2024 - 20 févr. 2016 à 01:23
Bonsoir,
j'ai trouvé bon de faire analyser mon site par le W3C.
Voici le résultat:

1.
Info: The Content-Type was text/html. Using the HTML parser.
2.
Info: Using the schema for HTML with SVG 1.1, MathML 3.0, RDFa 1.1, and ITS 2.0 support.
3.
Error: Internal encoding declaration iso8859-15 disagrees with the actual encoding of the document (utf-8).
From line 4, column 1; to line 4, column 72
l>?<head>?<meta content="text/html;charset=iso8859-15" http-equiv="Content-Type"/>?<meta
4.
Error: Bad value text/html;charset=iso8859-15 for attribute content on element meta: iso8859-15 is not a preferred encoding name. The preferred label for this encoding is iso-8859-15.
From line 4, column 1; to line 4, column 72
l>?<head>?<meta content="text/html;charset=iso8859-15" http-equiv="Content-Type"/>?<meta
Syntax of legacy character encoding declaration:
The string text/html;, optionally followed by whitespace, followed by charset=, followed by a preferred encoding name according to the Encoding Standard. Example: text/html; charset=utf-8
5.
Error: Using the meta element to specify the document-wide default language is obsolete. Consider specifying the language on the root element instead.
From line 5, column 1; to line 5, column 51
t-Type"/>?<meta http-equiv="content-language" content="fr" />?<meta
6.
Warning: The language attribute on the script element is obsolete. You can safely omit it.
From line 20, column 1; to line 20, column 28
p.css" />?<script language=javascript>?funct
7.
Warning: The language attribute on the script element is obsolete. You can safely omit it.
From line 30, column 1; to line 30, column 30
</script>?<SCRIPT LANGUAGE="JavaScript">?/*?So
8.
Error: Bad value menu du site for attribute name on element a: An ID must not contain whitespace.
From line 74, column 1; to line 74, column 23
/a><br />?<a name="menu du site"></a>?<
Syntax of id:
An ID consists of at least one character but must not contain any whitespace.
9.
Warning: The name attribute is obsolete. Consider putting an id attribute on the nearest container instead.
From line 74, column 1; to line 74, column 23
/a><br />?<a name="menu du site"></a>?<
10.
Warning: The name attribute is obsolete. Consider putting an id attribute on the nearest container instead.
From line 111, column 1; to line 111, column 19
page</a>?<a name="menupage"></a>?<
11.
Error: Bad value #menu du site for attribute href on element a: Illegal character in fragment: space is not allowed.
From line 114, column 5; to line 114, column 28
?<ul>?<li><a href="#menu du site">Retour
Syntax of URL:
Any URL. For example: /hello, #canvas, or http://example.org/ Characters should be represented in NFC and spaces should be escaped as %20.
12.
Error: The width attribute on the table element is obsolete. Use CSS instead.
From line 122, column 1; to line 122, column 80
eMailer">?<table width="250" border="0" cellpadding="0" cellspacing="0" bgcolor="#888888">?<tr><
13.
Error: The cellpadding attribute on the table element is obsolete. Use CSS instead.
From line 122, column 1; to line 122, column 80
eMailer">?<table width="250" border="0" cellpadding="0" cellspacing="0" bgcolor="#888888">?<tr><
14.
Error: The cellspacing attribute on the table element is obsolete. Use CSS instead.
From line 122, column 1; to line 122, column 80
eMailer">?<table width="250" border="0" cellpadding="0" cellspacing="0" bgcolor="#888888">?<tr><
15.
Error: The bgcolor attribute on the table element is obsolete. Use CSS instead.
From line 122, column 1; to line 122, column 80
eMailer">?<table width="250" border="0" cellpadding="0" cellspacing="0" bgcolor="#888888">?<tr><
16.
Error: The border attribute on the table element is obsolete. Use CSS instead.
From line 122, column 1; to line 122, column 80
eMailer">?<table width="250" border="0" cellpadding="0" cellspacing="0" bgcolor="#888888">?<tr><
17.
Error: The align attribute on the td element is obsolete. Use CSS instead.
From line 123, column 5; to line 123, column 23
888">?<tr><td align="center">?<font
18.
Error: The font element is obsolete. Use CSS instead.
From line 124, column 1; to line 124, column 46
"center">?<font face="Verdana" size="1" color="#ffffff"></font
19.
Error: Stray end tag form.
From line 128, column 1; to line 128, column 7
sUrl();">?</form>??<scr
20.
Error: The language attribute on the script element is obsolete. Use the type attribute instead.
From line 130, column 1; to line 130, column 33
?</form>??<script language="JavaScript1.2">?//tra
21.
Warning: The name attribute is obsolete. Consider putting an id attribute on the nearest container instead.
From line 153, column 2; to line 153, column 19
="main">? <a name="contenu"></a>?
22.
Warning: The name attribute is obsolete. Consider putting an id attribute on the nearest container instead.
From line 157, column 1; to line 157, column 18
r /> </p>?<a name="horloge"></a>?<
23.
Error: The language attribute on the script element is obsolete. Use the type attribute instead.
From line 159, column 1; to line 159, column 33
lle?</h2>?<SCRIPT LANGUAGE="JavaScript1.2">?var m
24.
Error: Bad value #menu du site for attribute href on element a: Illegal character in fragment: space is not allowed.
From line 184, column 5; to line 184, column 28
?<ul>?<li><a href="#menu du site">retour
Syntax of URL:
Any URL. For example: /hello, #canvas, or http://example.org/ Characters should be represented in NFC and spaces should be escaped as %20.
25.
Warning: The name attribute is obsolete. Consider putting an id attribute on the nearest container instead.
From line 190, column 1; to line 190, column 18
nfo">?<p>?<a name="conteur"></a>?2
26.
Error: The element form must not appear as a descendant of the form element.
From line 197, column 1; to line 197, column 6
com" --> ?<FORM>?<INPU
27.
Error: No p element in scope but a p end tag seen.
From line 201, column 21; to line 201, column 24
</p>??</di
28.
Error: Stray end tag body.
From line 203, column 7; to line 203, column 13
p>??</div></body>?</htm
29.
Error: Stray end tag html.
From line 204, column 1; to line 204, column 7
v></body>?</html>
30.
Error: End of file seen and there were open elements.
From line 204, column 1; to line 204, column 7
v></body>?</html>
31.
Error: Unclosed element table.
From line 122, column 1; to line 122, column 80
eMailer">?<table width="250" border="0" cellpadding="0" cellspacing="0" bgcolor="#888888">?<tr><
32.
Error: Unclosed element form.
From line 121, column 1; to line 121, column 21
r /> </p>?<form name="eMailer">?<tabl
Document checking completed.

si quelqu'un peut me dire en bon vieux français comment corriger les erreurs car je ne comprends rien à leur truc anglais :)

Merci.

1 réponse

telliak Messages postés 3655 Date d'inscription mercredi 20 septembre 2006 Statut Membre Dernière intervention 27 mars 2024 875
20 févr. 2016 à 01:23
Salut,
Sans le code, impossible de t'aider.
Avec le code, à raison de deux minutes par erreur, une heure de boulot...
0