Back to top

Autore Topic: Errori validazione W3C  (Letto 3363 volte)

Offline Mozartino

  • Appassionato
  • ***
  • Post: 367
    • Mostra profilo
Errori validazione W3C
« il: 24 Nov 2013, 10:56:32 »
Salve a tutti.

Premetto che sto appena iniziando a gestire un sito joomla e se possibile vorrei eliminare questi 5 errori di validazione W3C per il sito scolastico comprensivomontemurlo.gov.it ma non so cosa fare.

Leggo di "line e  column": dove devo orientare la mia attenzione?

Grazie e buona domenica


Citazione
  • Error Line 134, Column 8: required attribute "type" not specified
    <script>
     
       The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.
     Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
     
  • Error Line 279, Column 127: there is no attribute "border"
    …<img src="/images/google2.gif" border="0" alt="" width="183" height="76" /></a…
     
       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.
     
  • Error Line 306, Column 143: there is no attribute "name"
    …orm('optin','formAcymailing45651')" method="post" name="formAcymailing45651"  >
     
       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.
     
  • Error Line 885, Column 20: there is no attribute "data-thumb"
             <div data-thumb="/images/th/url_th.jpg" data-src="/images/url.jpg" >
     
       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.
     
  • Error Line 885, Column 53: there is no attribute "data-src"
             <div data-thumb="/images/th/url_th.jpg" data-src="/images/url.jpg" >
     
       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.
« Ultima modifica: 24 Nov 2013, 11:32:26 da Mozartino »
Carpe Diem

Offline principiante72

  • Esploratore
  • **
  • Post: 142
    • Mostra profilo
Re:Errori validazione W3C
« Risposta #1 il: 01 Dic 2013, 19:13:33 »
Ciao, anch'io ho lo stesso tuo problema con ben 24 errori da risolvere, ma non essendo "tecnica" della situazione non so come fare :( ...speriamo che qualcuno possa venirci in soccorso! ;)

mau_develop

  • Visitatore
Re:Errori validazione W3C
« Risposta #2 il: 01 Dic 2013, 19:52:24 »
riga si riferisce alla posizione verticale, colonna a quella orizzontale considerando un carattere 1 colonna.

..ma tanto sono imprecisi, vedete acapature diverse...ma gli errori sono più che parlanti così prendi unaricerca di quei tag e correggi con quello che ti dice

Offline Mozartino

  • Appassionato
  • ***
  • Post: 367
    • Mostra profilo
Re:Errori validazione W3C
« Risposta #3 il: 02 Gen 2014, 01:24:10 »
riga si riferisce alla posizione verticale, colonna a quella orizzontale considerando un carattere 1 colonna.

..ma tanto sono imprecisi, vedete acapature diverse...ma gli errori sono più che parlanti così prendi unaricerca di quei tag e correggi con quello che ti dice

Grazie ma...

Quale file devo aprire e modificare?
Buon anno!
Carpe Diem

 



Web Design Bolzano Kreatif