Pagina 1 di 2 1 2 ultimoultimo
Visualizzazione dei risultati da 1 a 10 su 12
  1. #1

    e' impazzito il validatore w3c?

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

    <HTML><HEAD><TITLE>Benvenuti in:</TITLE>
    <META http-equiv=Content-Type content="text/html; charset=windows-1252">


    <LINK href="stile/stile.css" type=text/css rel=stylesheet>
    </HEAD>

    <body>
    a
    </body>

    </html>


    errori:


    Line 8, column 6: end tag for element "HEAD" which is not open

    </HEAD>

    The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem.

    If this error occured in a script section of your document, you should probably read this FAQ entry.



    Line 10, column 5: document type does not allow element "BODY" here

    <body>

    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).



    ditemi un po' se e' possibile

  2. #2
    Utente di HTML.it L'avatar di LA VALE
    Registrato dal
    Sep 2003
    Messaggi
    667
    è veramente strano...


    L'unica cosa che ti suggerisco di fare, è di scrivere sempre tutti i tag in minuscolo:

    <html>
    <head>
    <title>
    </title>
    <meta ....>

    </head>

    <body>
    </body>

    </html>

  3. #3

    re

    anche con i tag in minuscolo e' la stessa cosa

  4. #4
    Utente di HTML.it L'avatar di span
    Registrato dal
    Jan 2004
    Messaggi
    1,644
    Controlla di aver chiuso gli altri tag (quelli nel body)

  5. #5

    re

    ti posto il codice con una semplice scritta ne tag body:

    da sempre lo stesso errore



    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

    <html><head>
    <meta http-equiv="Content-Language" content="it">
    <title>Benvenuti in:</title>
    <meta http-equiv=Content-Type content="text/html; charset=windows-1252">

    <link href="stile/stile.css" type=text/css rel=stylesheet>
    </head>

    <body>

    <font face="Arial">prova </font>

    </body></html>

  6. #6

    re

    ti posto il codice con una semplice scritta ne tag body:

    da sempre lo stesso errore



    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

    <html><head>
    <meta http-equiv="Content-Language" content="it">
    <title>Benvenuti in:</title>
    <meta http-equiv=Content-Type content="text/html; charset=windows-1252">

    <link href="stile/stile.css" type=text/css rel=stylesheet>
    </head>

    <body>

    <font face="Arial">prova </font>

    </body></html>

  7. #7

    re

    ti posto il codice con una semplice scritta ne tag body:

    da sempre lo stesso errore



    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

    <html><head>
    <meta http-equiv="Content-Language" content="it">
    <title>Benvenuti in:</title>
    <meta http-equiv=Content-Type content="text/html; charset=windows-1252">

    <link href="stile/stile.css" type=text/css rel=stylesheet>
    </head>

    <body>

    <font face="Arial">prova </font>

    </body></html>

  8. #8
    Utente di HTML.it L'avatar di LA VALE
    Registrato dal
    Sep 2003
    Messaggi
    667
    a questo punto la domanda sorge spontanea:

    non è che ti sbagli a far controllare la pagina?

    cioè essendo un html transitional, non è che (è solo un esmpio) lo fai controllare come strict?

    E' solo un'ipotesi, visto che è molto strano... :master:

  9. #9

    re

    io la valido a questo url:


    http://validator.w3.org/

  10. #10
    Utente di HTML.it L'avatar di Tokai
    Registrato dal
    Aug 2004
    Messaggi
    77
    Prova:

    <META http-equiv="Content-Type" content="text/html; charset=windows-1252">


    <LINK href="stile/stile.css" type="text/css" rel="stylesheet">


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.