Validation normes xhtml

Résolu/Fermé
embed - 9 avril 2009 à 16:01
 Utilisateur anonyme - 9 avril 2009 à 18:07
Bonjour,

voila j ai encore un souci avec mon object flash celui ci s affiche bien dans firefox mais pas dans ie :-(

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" height="500" width="700" id="myFlashContent">
<param name="id" value="tech" />
<param name="align" value="middle" />
<param name="allowScriptAccess" value="sameDomain" />
<param name="quality" value="high" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="slideshow.swf?xml_path=slideshow,xml.xml" width="700" height="500">
<param name="id" value="tech" />
<param name="align" value="middle" />
<param name="allowScriptAccess" value="sameDomain" />
<param name="quality" value="high" /
<a href="https://get.adobe.com/flashplayer/">
<!--<![endif]-->
!--[if !IE]>-->
<img src="https://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
</a>
</object>
<!--<![endif]-->
</object>

14 réponses

RAD ZONE Messages postés 5230 Date d'inscription samedi 20 janvier 2007 Statut Contributeur Dernière intervention 17 août 2024 1 360
9 avril 2009 à 17:29
Si tu est sur du .xml qui me parrait bizare slideshow,xml.xml ???

voila
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="700" height="500" id="myFlashContent" align="middle">				
      <param name="movie" value="slideshow.swf" />				
      <param name="quality" value="high" />				
      <param name="allowscriptaccess" value="sameDomain" />				
      <param name="flashvars" value="xml_path=slideshow,xml.xml" />				
      <!--[if !IE]>-->				
      <object type="application/x-shockwave-flash" data="slideshow.swf" width="700" height="500" align="middle">					
        <param name="quality" value="high" />					
        <param name="allowscriptaccess" value="sameDomain" />					
        <param name="flashvars" value="xml_path=slideshow,xml.xml" />				
        <!--<![endif]-->					
        <a href="https://get.adobe.com/flashplayer/">						
          <img src="https://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />					</a>				
        <!--[if !IE]>-->				
      </object>				
      <!--<![endif]-->			
    </object>
3
desole voici le bon code

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" height="500" width="700" id="myFlashContent">
<param name="id" value="tech" />
<param name="align" value="middle" />
<param name="allowScriptAccess" value="sameDomain" />
<param name="quality" value="high" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="slideshow.swf?xml_path=slideshow,xml.xml" width="700" height="500">
<param name="id" value="tech" />
<param name="align" value="middle" />
<param name="allowScriptAccess" value="sameDomain" />
<param name="quality" value="high" /
<!--<![endif]-->
<a href="https://get.adobe.com/flashplayer/">


<img src="https://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
</a>

!--[if !IE]>-->
</object>
<!--<![endif]-->

</object>
0
personne n'a une idée ? :-(
0
Utilisateur anonyme
9 avril 2009 à 17:31
Essaye ceci : il te faut juste remplacé :


            <embed src="Plugins/GS-ACTIVEX/Flash/graph.swf" menu="false" quality="high" wmode="transparent" bgcolor="#ffffff" width="470" height="110" name="radio" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="https://get.adobe.com/flashplayer/" />
0
RAD ZONE Messages postés 5230 Date d'inscription samedi 20 janvier 2007 Statut Contributeur Dernière intervention 17 août 2024 1 360
9 avril 2009 à 17:33
lucas34 je crois que tu n a pas bien compris !!!!!

ton code ne sert a rien et il n est pas valide !!

reponse a voir
http://www.commentcamarche.net/forum/affich 11920085 validation normes xhtml?#3

0
embed > RAD ZONE Messages postés 5230 Date d'inscription samedi 20 janvier 2007 Statut Contributeur Dernière intervention 17 août 2024
9 avril 2009 à 17:45
encore une fois bien joué rad zone oui lucas les embed ne sont pas Xhtml valide ...
0

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

Posez votre question
Utilisateur anonyme
9 avril 2009 à 17:40
sisi il est valide
0
Utilisateur anonyme
9 avril 2009 à 17:42
Je croyais que tu voulais un script valide avec w3c et qui affiche des animation flash.
0
RAD ZONE Messages postés 5230 Date d'inscription samedi 20 janvier 2007 Statut Contributeur Dernière intervention 17 août 2024 1 360
9 avril 2009 à 17:46
embed n est pas reconnu !!!

voila le resultat de ton code au validateur W3C 13 erreurs dans une seule ligne !! il est vraiment valide !! ;-))


Validation Output:  13 Errors

   1. Error Line 11, Column 18: Attribute "src" exists, but can not be used for this element.

            <embed src="Plugins/GS-ACTIVEX/Flash/graph.swf" menu="false" quality="high

      &#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.
   2. Error Line 11, Column 60: Attribute "menu" is not a valid attribute. Did you mean "onmouseup" or "onmouseout"?

      …ns/GS-ACTIVEX/Flash/graph.swf" menu="false" quality="high" wmode="transparent

      &#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.
   3. Error Line 11, Column 76: Attribute "quality" is not a valid attribute

      …ash/graph.swf" menu="false" quality="high" wmode="transparent" bgcolor="#ffff

      &#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.
   4. Error Line 11, Column 89: Attribute "wmode" is not a valid attribute. Did you mean "code" or "frameborder"?

      …" menu="false" quality="high" wmode="transparent" bgcolor="#ffffff" width="47

      &#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.
   5. Error Line 11, Column 111: Attribute "bgcolor" exists, but can not be used for this element.

      …="high" wmode="transparent" bgcolor="#ffffff" width="470" height="110" name="

      &#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.
   6. Error Line 11, Column 127: Attribute "width" exists, but can not be used for this element.

      …ransparent" bgcolor="#ffffff" width="470" height="110" name="radio" align="mi

      &#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.
   7. Error Line 11, Column 140: Attribute "height" exists, but can not be used for this element.

      …gcolor="#ffffff" width="470" height="110" name="radio" align="middle" allowSc

      &#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.
   8. Error Line 11, Column 151: Attribute "name" exists, but can not be used for this element.

      …ffff" width="470" height="110" name="radio" align="middle" allowScriptAccess=

      &#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.
   9. Error Line 11, Column 165: Attribute "align" exists, but can not be used for this element.

      …70" height="110" name="radio" align="middle" allowScriptAccess="sameDomain" t

      &#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.
  10. Error Line 11, Column 192: Attribute "allowScriptAccess" is not a valid attribute

      …o" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwav

      &#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.
  11. Error Line 11, Column 210: Attribute "type" exists, but can not be used for this element.

      …allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspa

      &#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.
  12. Error Line 11, Column 254: Attribute "pluginspage" is not a valid attribute

      …tion/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashpla

      &#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.
  13. Error Line 11, Column 301: element "embed" undefined. Did you mean "meta" or "em"?

      ….macromedia.com/go/getflashplayer" />

      &#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).
0
RAD ZONE Messages postés 5230 Date d'inscription samedi 20 janvier 2007 Statut Contributeur Dernière intervention 17 août 2024 1 360
9 avril 2009 à 17:47
Je croyais que tu voulais un script valide avec w3c et qui affiche des animation flash.

raison de plus !! ton code seul retourne deja 13 erreurs !!
0
Utilisateur anonyme
9 avril 2009 à 17:48
Tu as essayé de le faire valider mon script au moins ??
Il faut mettre le : <?xml version="1.0"?> en haut de la page

Sinon, c'est absolument normale que sa marche pas !
0
Utilisateur anonyme
9 avril 2009 à 17:54
Dis moi, tu le fait valider où ton code ?
0
RAD ZONE Messages postés 5230 Date d'inscription samedi 20 janvier 2007 Statut Contributeur Dernière intervention 17 août 2024 1 360
9 avril 2009 à 17:56
sur le site W3C !! http://validator.w3.org/

et embed n est pas valide !!!!!
0
Utilisateur anonyme
9 avril 2009 à 17:57
Oui c'est bon, calme toi !
Je ne l'avais pas mis le "Doctype" en XHTML
Je suis désolé.
0
RAD ZONE Messages postés 5230 Date d'inscription samedi 20 janvier 2007 Statut Contributeur Dernière intervention 17 août 2024 1 360
9 avril 2009 à 18:00
Oui c'est bon, calme toi !
Je ne l'avais pas mis le "Doctype" en XHTML


pourtant le titre est clair!!Validation normes xhtml
0
Utilisateur anonyme
9 avril 2009 à 18:07
Tans pis, de toute façon le problème est résolue
0