Visualizzazione dei risultati da 1 a 6 su 6
  1. #1

    ho validato:4 errori! Aiutatemi a capirli.

    Ho validato con W3C la pagina

    http://xoomer.virgilio.it/daddo83/modello.html

    che,come dice il nome, è il modello per tutte le pagine del sito che sto preparando.Sono venuti fuori questi errori

    ----------------------------------------------------------

    1.

    Line 29, column 6: end tag for "HEAD" which is not finished

    </head>


    2.

    Line 51, column 11: "IF" is not a reserved name

    <![if IE 5]>

    </p><![endif]>


    3.

    Line 51, column 36: "ENDIF" is not a reserved name

    <![if IE 5]>

    </p><![endif]>



    [....4......5.....]

    6.

    Line 78, column 40: document type does not allow element "BODY" here

    <body onload="iLoveThisClock();">


    -----------------------------------------------------------
    Tutti gli altri che erano risultati alle prime validazioni sono riuscito a correggerli,ma questi proprio non so come eliminarli.Potete aiutarmi?

    Grazie in anticipo


  2. #2

  3. #3
    non vorrei sembrare insistente...ma se qualcuno mi aiutasse lo apprezzerei molto

  4. #4
    Utente di HTML.it L'avatar di span
    Registrato dal
    Jan 2004
    Messaggi
    1,644
    per i commenti condizionali hai sbagliato la sintassi

    <!--[if IE 5]>

    </p><![endif]-->

    intanto correggi quello

  5. #5
    Per gli errori relativi a HEAD e BODY credo che il problema sia che non hai inserito il tag <title></title> all'interno di HEAD, mentre ho l'impressione che per il W3C sia un tag obbligatorio.

  6. #6
    Ho corretto gli errori che mi avete detto...grazie

    Adesso ne resta soltanto uno:


    ------------------------------------------------------------
    Line 79, column 40: document type does not allow element "BODY" here

    <body onload="iLoveThisClock();">

    The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

    One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
    ------------------------------------------------------------




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.