• User Attivo

    W3c vorrei fare una correzione.Come si fa?

    Ciao ,
    vorrei fare la seguente correzione in relazione al sito martinopapesso.com (aggiungere http e www) :
    Line 35, Column 23: there is no attribute "role"

    <div id="header" role="banner">

    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.

    Chi mi dice come si fa?
    In maniera dettagliata che devo fare?
    Grazie:)

    P.S.
    Che devo fare per inserire link attivi?
    Ho più di 50 messaggi e ho superato il test rispondendo a 20 domande ESATTAMENTE,ma se scrivo link diretti, il sistema me li respinge dicendo che non sono utente premium.


  • User Attivo

    Semplicemente l'attributo "role" non è ammesso e va tolto.
    Inoltre c'è un'altro errore relativo alla mancata chiusura di un tag "a".


  • User Attivo

    Come si fa a togliere l'attributo 'role' ?E a chiudere il tag a?
    Come faccio a salvare il modo permanente quelle modifiche?


  • ModSenior

    Ciao martinoo,

    senza sapere come hai realizzato il sito, è impossibile risponderti su come fare.


  • User Attivo

    Il validatore mi ricordava semplicemente una dimenticanza .
    Hai presente quando tu scrivi del testo e se ci clicchi sopra finisci in un sito web ?Questo perchè quel testo era linkato?
    Lo stesso lo puoi fare per una immagine:la clicchi e finisci in un sito web.

    Io nella compilazione del codice nel mio sito mi sono dimenticato il </a> ed il fantastico validatore mi segnalava questa mia dimenticanza.

    Poi per quanto riguarda il role,ho individuato il punto preciso con l'aiuto del numero della riga ed ho rimosso role=ecc. ecc. ho continuato sempre così e alla fine ho messo tutto a posto.