Bonjour à tous,
J'ai besoin d'un petit apport de réponses, :)
Je suis sur la construction d'un site (je suis débutant) et après avoir lu pas mal d'articles sur le sujet, il faut vraiment que le langage utilisé soit au normes, donc je me suis procuré l'extension de firefox
"https://addons.mozilla.org/fr/firefox/addon/60"
et j'ai bien planché sur les conseils d'un gars qui n'a pas l'air d'être manchot avec le xHTML
"http://www.siteduzero.com/tutoriel-3-13475-avant-de-commencer.html"
Mon Doc est du Type :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
Le soucis, c'est qu'après avoir "checké" mes pages via l'extension de Firefox ou a cette adresse
"http://validator.w3.org/"
Il y a plein d'erreurs de ce type :
# Error Line 31, Column 16: Attribute "src" exists, but can not be used for this element.
<embed src="../flash/en_tete.swf" quality="high" pluginspage="http://www.mac
✉
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.
Je ne suis pas un tueur en Anglais mais je crois comprendre qu"il me dit qu'un attribut (de mon Flash) ne peut pas être utilisé avec ce document (enfin je crois), 98% des erreurs sont de ce type.
Quelqu'un peut éclairer ma lanterne?
Merci d'avance
Configuration: Windows XP
Firefox 3.0.8