Bonjour à tous,
Je tente de faire valider une page du site internet duquel je m'occupe et une erreur m'est signalé par le valideur HTML du W3C et pourtant il ne me semble pas avoir faire d'erreur de ce coté là...
Le validateur me signifie que certaines balises sont mal fermés.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34 <div id="divBas" class="DivBas"> <script language="JavaScript" type="text/javascript"> var msg=new Array() var compteur=0 var texte=""; msg[compteur]="<div class='DivNews'><img src='/system/modules/ch.hearc.portail/resources/gris/arcNews.jpg' alt='Logo News'/></div><div class='DivNews'><a href='/hearc/fr/hearc/ms_hearc/modules/news/news_0001.html'>Résultat du jeu concours 'Economie 21'</a></div>"; compteur=compteur+1; msg[compteur]="<div class='DivNews'><img src='/system/modules/ch.hearc.portail/resources/gris/artsNews.jpg' alt='Logo News'/></div><div class='DivNews'><a href='/hearc/fr/artsappliques/ms_artsappliques/modules/news/news_0010.html'>Bienvenue sur le site Internet de la Haute Ecole Arc Arts appliqués</a></div>"; compteur=compteur+1; msg[compteur]="<div class='DivNews'><img src='/system/modules/ch.hearc.portail/resources/gris/ecoNews.jpg' alt='Logo News'/></div><div class='DivNews'><a href='/hearc/fr/economie/ms_economie/modules/news/IDM_Arc.html'>L'Institut du Management Arc dispose désormais de son propre site Internet</a></div>"; compteur=compteur+1; msg[compteur]="<div class='DivNews'><img src='/system/modules/ch.hearc.portail/resources/gris/ingNews.jpg' alt='Logo News'/></div><div class='DivNews'><a href='/hearc/fr/ingenierie/ms_ingenierie/modules/news/news_0010.html'>Prix Inno-Tec Suisse</a></div>"; compteur=compteur+1; msg[compteur]="<div class='DivNews'><img src='/system/modules/ch.hearc.portail/resources/gris/ingNews.jpg' alt='Logo News'/></div><div class='DivNews'><a href='/hearc/fr/ingenierie/ms_ingenierie/modules/news/news_0009.html'>Livres de théorie horlogère pour les ingénieurs</a></div>"; compteur=compteur+1; msg[compteur]="<div class='DivNews'><img src='/system/modules/ch.hearc.portail/resources/gris/ingNews.jpg' alt='Logo News'/></div><div class='DivNews'><a href='/hearc/fr/ingenierie/ms_ingenierie/modules/news/news_0008.html'>La Haute Ecole Arc Ingénierie et Dassault Systèmes mettent leur savoir-faire au service du tissu industriel</a></div>"; compteur=compteur+1; msg[compteur]="<div class='DivNews'><img src='/system/modules/ch.hearc.portail/resources/gris/santeNews.jpg' alt='Logo News'/></div><div class='DivNews'><a href='/hearc/fr/sante/ms_sante/modules/news/news_0002.html'>Bienvenue sur le site Internet de la Haute Ecole Arc Santé</a></div>"; compteur=compteur+1; </script> <script language="JavaScript" src="/system/modules/ch.hearc.portail/resources/common/news.js" type="text/javascript"> </script> <script language="JavaScript" src="/system/modules/ch.hearc.portail/resources/common/placenews.js" type="text/javascript"> </script>
Voici les erreurs signalés sur ce bloc de code.
Line 2605, Column 132: end tag for "SCRIPT" omitted, but its declaration does not permit this .
…s/arcNews.jpg' alt='Logo News'/></div><div class='DivNews'><a href='/hearc/fr
You forgot to close a tag, or
you used something inside this tag that was not allowed, and the validator is complaining that the tag should be closed before such content can be allowed.
The next message, "start tag was here" points to the particular instance of the tag in question); the positional indicator points to where the validator expected you to close the tag.
Line 2595, Column 0: start tag was here .
<script language="JavaScript" type="text/javascript"> Line 2640, Column 8: end tag for element "SCRIPT" which is not open .
</script>✉
The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem.
If this error occurred in a script section of your document, you should probably read this FAQ entry.
J'espère que qqun pourra m'aider car j'aimerais bien rendre mon site valide.
Merci d'avance
Partager