bonjour

j'ai ce type de problème avec w3c je ne comprend pas leur code d'erreur pourriez vous me donnez quelques exemples et explications merci
ci dessous quelques exemple d'erreurs.

cordialement

didier

Line 6, Column 17: there is no attribute "LANGUAGE".
<SCRIPT LANGUAGE="JavaScript">&#9993;
You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.

Line 6, Column 29: element "SCRIPT" undefined.
<SCRIPT LANGUAGE="JavaScript">&#9993;
You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by:

incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "<frameset>" element),
by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case).

Line 208, Column 31: element "SCRIPT" undefined.
<SCRIPT LANGUAGE="JavaScript">&#9993;
You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by:

incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "<frameset>" element),
by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case).

Line 215, Column 13: there is no attribute "align".
<div align="right">&#9993;
You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.

Line 223, Column 23: there is no attribute "scrolldelay".
<marquee scrolldelay="80" width="547" height="41" style="color: #FFFFFF; font-&#9993;
You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.

merci
Modifié par didier17 (30 Oct 2007 - 16:35)
Bonjour itou,

Avec le code ou un lien vers ta page c'eût été mieux...
1/
<script type="text/javascript">...</script>

au lieu de...
<script language="JavaScript">...</script> 

peut-être ?

2/Le Doctype que tu choisis ( xhtml strict si j'ai bien compris ?...) t'impose certains efforts/"contraintes" au niveau de l'écriture de ton code... à lire absolument !!! ("marquee" c'est caca...)

3/
<div align="right">

Outre le fait que tu peux (dois ?) différencier le contenu de la forme et que ce style pourrait (devrait ?) se trouver dans ta feuille de style, il semble d'usage d'écrire :
[#red]shame on me [confused] [/#]


Voilà ce que je peux te confier suivant l'étendue de mes maigres connaissances durement acquises en parcourrant (en autre) ce forum... Smiley cligne
Modifié par 6l20 (31 Oct 2007 - 19:00)
<div style="align:right">

La propriété CSS align n'existe pas. On a, entre autres:
- text-align;
- float.
Merci Florent pour cette correction indispensable...j'ai manqué de concentration sur ce coup... Smiley decu
http://tbn0.google.com/images?q=tbn:1zbzsV_pguP4jM:http://www.filmreference.com/images/sjff_01_img0443.jpg

Je reprend donc :
Si tu veux positionner ton conteneur à droite :

#centre {
float:right;
margin:si besoin;
padding:si besoin;
border: si besoin;
background:si besoin;
            }

de préférence dans la feuille de style...

[ mode="flagellation":on]*Je réfléchirai avant de répondre trop vite...Je réfléchirai avant de répondre trop vite...Je réfléchirai avant de répondre trop vite...Je réfléchirai avant de répondre trop vite...Je réfléchirai avant de répondre trop vite...*10000000[ /off]
j'ai lu le lien mais il n' ya pas les correspondance!!!

aussi par quoi je remplace <marquee par exemple ???

cordialement didier
Didier,

Tu ne peux évidemment pas avoir ce comportement via css, ce n'est ni le but ni la fonction !

Ce ne sont pas les sources qui manquent sur le net, notamment en javascript l'ami Google t'en fournira plus qu'il ne t'en faut. A charge pour toi de choisir la meilleur source Smiley cligne

La question que tu dois te poser maintenant, c'est l'intérêt d'avoir un texte, une liste défilante sur ton site ? Qu'est-ce que cela apporte réellement à tes visiteurs ?
Il faut être conscient que cela peut déplaire, voir réellement géner tes visiteurs (déficient visuel par exemple, épileptique ou vieux grognon comme moi Smiley cligne ) et s'il ne s'agit que d'un effet de style ou d'une mise en valeur de ce texte, il y a fort à parier qu'il soit envisageable que cela puisse se "règler" via css, la seule limite, c'est notre imagination Smiley cligne

Bon courage pour la suite.
Modifié par 6l20 (03 Nov 2007 - 03:11)