Carte Google maps installé sur site mais pas valide W3C

Carte Google maps installé sur site mais pas valide W3C - HTML/CSS - Programmation

Marsh Posté le 24-02-2011 à 21:34:21    

:)  Bonjour à tous et merci d'avance pour votre aide.
 
J'ai un soucis avec une page de mon site qui n'est pas valide W3C: j'ai installé une carte de Google qui n'est pas valide w3c
Le plan de la page affiche une balise h1 vide mais je ne l'ai pas trouvée dans la page, elle est donc dans le code de Google maps.
 
Si quelqu'un a déjà eu le même soucis merci de m'aider.
 
Voici les messages d'erreurs du site W3C:
 

Code :
  1. Validation Output: 8 Errors
  2.    1. Error Line 50, Column 22: there is no attribute "frameborder"
  3.        <iframe frameborder="0" height="350" marginheight="0" marginwidth="0" scrollin…
  4.       ✉
  5.       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).
  6.       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.
  7.       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.    2. Error Line 50, Column 33: there is no attribute "height"
  9.        <iframe frameborder="0" height="350" marginheight="0" marginwidth="0" scrollin…
  10.       ✉
  11.       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).
  12.       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.
  13.       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.
  14.    3. Error Line 50, Column 52: there is no attribute "marginheight"
  15.       …eborder="0" height="350" marginheight="0" marginwidth="0" scrolling="no" src="…
  16.       ✉
  17.       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).
  18.       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.
  19.       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.
  20.    4. Error Line 50, Column 68: there is no attribute "marginwidth"
  21.       …ht="350" marginheight="0" marginwidth="0" scrolling="no" src="http://maps.goog…
  22.       ✉
  23.       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).
  24.       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.
  25.       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.
  26.    5. Error Line 50, Column 82: there is no attribute "scrolling"
  27.       …nheight="0" marginwidth="0" scrolling="no" src="http://maps.google.fr/maps/ms?…
  28.       ✉
  29.       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).
  30.       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.
  31.       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.
  32.    6. Error Line 50, Column 91: there is no attribute "src"
  33.       …0" marginwidth="0" scrolling="no" src="http://maps.google.fr/maps/ms?hl=fr&amp…
  34.       ✉
  35.       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).
  36.       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.
  37.       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.
  38.    7. Error Line 50, Column 311: there is no attribute "width"
  39.       …9&amp;iwloc=0004824987cf7028ffbbb&amp;output=embed" width="425"></iframe><br />
  40.       ✉
  41.       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).
  42.       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.
  43.       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.
  44.    8. Error Line 50, Column 316: element "iframe" undefined
  45.       …9&amp;iwloc=0004824987cf7028ffbbb&amp;output=embed" width="425"></iframe><br />
  46.       ✉
  47.       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:
  48.           * 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),
  49.           * by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
  50.           * by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case).

Reply

Marsh Posté le 24-02-2011 à 21:34:21   

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed