XHTML 1.0 strict et OnClick

eijii Messages postés 4 Date d'inscription jeudi 1 juillet 2004 Statut Membre Dernière intervention 2 juillet 2004 - 1 juil. 2004 à 15:10
cs_Duss Messages postés 890 Date d'inscription lundi 8 avril 2002 Statut Membre Dernière intervention 29 juillet 2004 - 2 juil. 2004 à 14:53
Bonjour,
ces les vacances et depuis quelques jours je m'attèles à refaire de a à z mon pt'it site. Mais j'ai un soucis lorsque je passes mon site avec le certificateur XHTML 1.0 strict du W3C.

le site web : http://6tigrou7.free.fr
en bas de la page y a un raccourci pour aller certifier la page.

erreur trouvé :
Line 24, column 62: there is no attribute "OnClick"

Mon Radio.Blog

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.

6 réponses

eijii Messages postés 4 Date d'inscription jeudi 1 juillet 2004 Statut Membre Dernière intervention 2 juillet 2004
1 juil. 2004 à 15:12
désolé pour la faute d'orthographe au tout début (c'est les vacances) mais impossible d'éditer.

voici le lien direct pour certifier :
http://validator.w3.org/check?uri=http%3A%2F%2F6tigrou7.free.fr%2Findex.html

merci d'avance :)
0
eijii Messages postés 4 Date d'inscription jeudi 1 juillet 2004 Statut Membre Dernière intervention 2 juillet 2004
1 juil. 2004 à 17:55
problème reglé
0
cs_Duss Messages postés 890 Date d'inscription lundi 8 avril 2002 Statut Membre Dernière intervention 29 juillet 2004 11
2 juil. 2004 à 10:26
tu as fais quoi ?
un behavior ?
Duss
0
chmel Messages postés 75 Date d'inscription lundi 21 juin 2004 Statut Membre Dernière intervention 12 octobre 2004
2 juil. 2004 à 13:41
Je pense que c'est onClick ou onclick et pas OnClick :question)
0

Vous n’avez pas trouvé la réponse que vous recherchez ?

Posez votre question
eijii Messages postés 4 Date d'inscription jeudi 1 juillet 2004 Statut Membre Dernière intervention 2 juillet 2004
2 juil. 2004 à 14:45
oui, tout simplement un problème de majuscule/minuscule.
il fallait mettre :
onclick :)
0
cs_Duss Messages postés 890 Date d'inscription lundi 8 avril 2002 Statut Membre Dernière intervention 29 juillet 2004 11
2 juil. 2004 à 14:53
oui toutes les balises et leurs attributs doivent etre en minuscules
Duss
0
Rejoignez-nous