Visualizzazione dei risultati da 1 a 4 su 4
  1. #1
    Utente di HTML.it
    Registrato dal
    May 2011
    residenza
    bergamo
    Messaggi
    1,027

    [w3c validator] con foundation

    buonasera a tutti

    ho fatto una pagina web con foundation ho provato a fare il validate del w3c... mi da un sacco di errori, molti dei quali dovuti a foundation tipo

    Line 45, Column 21: there is no attribute "class" <nav id="top" class="top-bar" data-topbar data-options="is_hover:false">

    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.


    vi è mai capitato?

    inoltre ho altri errori che non riesco a correggerne, ne avevo 80 e già ne ho corretti molti però ora mi sono bloccato perchè non riesco a correggerne alcuni mi potreste aiutare o dare qualche suggerimento?

    la pagina è questa

    http://validator.w3.org/check?uri=ww...Inline&group=0

  2. #2
    Per eliminare gli errori, nella pagina di cui hai riportato l'indirizzo, spunta Validate Error Pages e Clean Up Markup with HTML-Tidy e poi clicca Rivalidate. In fondo alla pagina di viene fornito il codice corretto che inserirai nella tua pagina.

  3. #3
    Utente di HTML.it
    Registrato dal
    May 2011
    residenza
    bergamo
    Messaggi
    1,027
    mi ha sballato completamente tutta la pagina... e comunque poi mi da sempre due errori finali che non mi si tolgono più.
    vabhe la lascerò così.

  4. #4
    Prova a rifare la pagina scrivendo solo ed esclusivamente i tag che ti servono, e poi valida con W3C; tenta cosi'.

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.