Partage
  • Partager sur Facebook
  • Partager sur Twitter

erreur w3c

plus que 2 erreurs!!!

    3 août 2006 à 21:33:33

    bonjour il me reste deux erreurs dans mon site et je n'arrive pas à les réglées c'est ca:


    1) # Line 37 column 75: the name and VI delimiter can be omitted from an attribute specification only if SHORTTAG YES is specified.

    ... name="saison" value="saison 1" checked /> saison 1</label><br />

    "VI delimiter" is a technical term for the equal sign. This error message means that the name of an attribute and the equal sign cannot be omitted when specifying an attribute. A common cause for this error message is the use of "Attribute Minimization" in document types where it is not allowed, in XHTML for instance.

    How to fix: For attributes such as compact, checked or selected, do not write e.g <option selected ... but rather <option selected="selected" ...

    &#9993;
    2) # Error Line 52 column 11: there is no attribute "onClick".

    <a onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http:

    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.

    • Partager sur Facebook
    • Partager sur Twitter
      3 août 2006 à 21:48:19

      Bonjour,
      Tu peux également lire ce que te dit le validateur.

      A savoir que dans le type de document que tu utilise, la syntaxe pour un attribut est de la forme attribut="valeur", où la valeur ne peut être omise.

      Les attributs sont également à écrire en minuscules.

      checked="checked", onclick et non onClick.
      • Partager sur Facebook
      • Partager sur Twitter

      erreur w3c

      × Après avoir cliqué sur "Répondre" vous serez invité à vous connecter pour que votre message soit publié.
      × Attention, ce sujet est très ancien. Le déterrer n'est pas forcément approprié. Nous te conseillons de créer un nouveau sujet pour poser ta question.
      • Editeur
      • Markdown