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

    errore al validatore W3C che significa?

    qualcuno mi sa spiegare questi errori per poi poterli correggere ? il link è questo

    end tag for "meta" omitted, but OMITTAG NO was specified.
    …ype" content="text/html; charset=iso-8859-1">✉
    You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".

    Line 9, Column 0: start tag was here.
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> Line 10, Column 62: end tag for "link" omitted, but OMITTAG NO was specified.
    …el="stylesheet" type="text/css" href="style/style.css">✉
    You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".

    Line 10, Column 0: start tag was here.
    <link rel="stylesheet" type="text/css" href="style/style.css"> Line 13, Column 14: document type does not allow element "div" here; assuming missing "body" start-tag.
    <div id="main"> ✉
    Line 168, Column 11: end tag for element "div" which is not open.
    </div></div>✉
    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 occurred in a script section of your document, you should probably read this FAQ entry.

    XML Parsing Error: XML declaration allowed only at the start of the document.

    <?xml version="1.0" encoding="iso-8859-1"?>✉
    Line 11, Column 7: XML Parsing Error: Opening and ending tag mismatch: link line 10 and head.
    </head>✉
    Line 168, Column 12: XML Parsing Error: Opening and ending tag mismatch: meta line 9 and div.
    </div></div>✉
    Line 176, Column 7: XML Parsing Error: Opening and ending tag mismatch: head line 7 and body.
    </body>✉

  2. #2

    Re: errore al validatore W3C che significa?

    Line 9, Column 72: end tag for "meta" omitted, but OMITTAG NO was specified.

    Codice sbagliato:
    codice:
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    Codice corretto (in XHTML i tag si chiudono così)
    codice:
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
    L'errore alla linea 10 è analogo.

    Per gli altri errori: hai dimenticato di aprire il tag <body> dopo </head>.

  3. #3
    Io ho corretto! ma mi da altri errori!


    Line 10, Column 64: end tag for "link" omitted, but OMITTAG NO was specified.
    …stylesheet" type="text/css" href="style/style.css /">✉
    You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".

    Line 10, Column 0: start tag was here.
    <link rel="stylesheet" type="text/css" href="style/style.css /"> Line 4, Column 5: XML Parsing Error: XML declaration allowed only at the start of the document.
    <?xml version="1.0" encoding="iso-8859-1"?>✉
    Line 11, Column 7: XML Parsing Error: Opening and ending tag mismatch: link line 10 and head.
    </head>✉
    Line 177, Column 7: XML Parsing Error: Opening and ending tag mismatch: head line 7 and html.
    </html>✉
    Line 177, Column 7: XML Parsing Error: Premature end of data in tag html line 6.
    </html>✉

  4. #4
    Sbagliato
    codice:
    <link rel="stylesheet" type="text/css" href="style/style.css /">
    Corretto:
    codice:
    <link rel="stylesheet" type="text/css" href="style/style.css" />

  5. #5
    allora correggendo qello e inserendolo da solo il validatore dice OK! ma se inserisco gli altri tag mi danno tutti errore come mai ? eppure ho applicato gli stessi parametri del " e lo spazìetto con la chiusura larga...

    Line 10, Column 11: there is no attribute "NAME".
    <META NAME="TITLE" CONTENT="casartigiani" /> ✉
    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.

    Line 10, Column 27: there is no attribute "CONTENT".
    <META NAME="TITLE" CONTENT="casartigiani" /> ✉
    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.

    Line 10, Column 43: element "META" undefined.
    <META NAME="TITLE" CONTENT="casartigiani" /> ✉
    You have used the element named above in your document, but the document type you are using does not define an element of that name. 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 "Frameset" document type to get the "<frameset>" element),
    by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
    by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case).

    Line 11, Column 227: element "META" undefined.
    … e sicurezza nei luoghi di lavoro " /> ✉
    You have used the element named above in your document, but the document type you are using does not define an element of that name. 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 "Frameset" document type to get the "<frameset>" element),
    by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
    by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case).

    Line 12, Column 230: element "META" undefined.
    …e e sicurezza nei luoghi di lavoro" /> ✉
    You have used the element named above in your document, but the document type you are using does not define an element of that name. 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 "Frameset" document type to get the "<frameset>" element),
    by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
    by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case).

    Line 13, Column 44: element "META" undefined.
    <META NAME="REVISIT-AFTER" CONTENT="1 DAY" /> ✉
    You have used the element named above in your document, but the document type you are using does not define an element of that name. 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 "Frameset" document type to get the "<frameset>" element),
    by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
    by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case).

    Line 22, Column 11: there is no attribute "NAME".
    <meta NAME="distribution" CONTENT="casartigiani" /> ✉
    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.

    Line 22, Column 34: there is no attribute "CONTENT".
    <meta NAME="distribution" CONTENT="casartigiani" /> ✉
    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.

    Line 22, Column 50: required attribute "content" not specified.
    <meta NAME="distribution" CONTENT="casartigiani" /> ✉
    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>.

    Line 25, Column 61: element "META" undefined.
    … NAME="GENERATOR" CONTENT="Macromedia Dreamweaver 1.0" /> ✉
    You have used the element named above in your document, but the document type you are using does not define an element of that name. 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 "Frameset" document type to get the "<frameset>" element),
    by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
    by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case).

  6. #6
    Ti mancano i tag <html>e <head>.

    codice:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <html>
    <head>
    PS: il tag CODE....

  7. #7
    Guarda che non è proprio così perchè controlla pure al link

    inserendo il tag HTML non funziona nulla e mi da 21 errori!

  8. #8
    Originariamente inviato da decori
    Guarda che non è proprio così perchè controlla pure al link

    inserendo il tag HTML non funziona nulla e mi da 21 errori!
    codice:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <html>
    <head>
    Ogni volta che visito il tuo sitio e guardo il codice, risolvi un errore e ne metti un altro...

    PS: per certi errori basta leggere quello che dice il sgnor W3C. Partendo dal primo, perché quelli successivi possono essere errori in cascata. Leggi il primo errore, lo risolvi, rieffettui la validazione, riguardi il primo degli errori (se ce ne sono ancora), risolvi l'errore ecc... finché non otterrai 0 errori.
    Line 6, Column 5: document type does not allow element "html" here.
    Cosa significherà mai?

  9. #9
    alloa Panta...non è per nulla ma io ho provato a caricare la pagina con il tag HTML e senza. Adesso è senza ma mi dà una serie infinità di errori lo stesso ...che vorrà dire mai?

  10. #10
    Originariamente inviato da decori
    alloa Panta...non è per nulla ma io ho provato a caricare la pagina con il tag HTML e senza. Adesso è senza ma mi dà una serie infinità di errori lo stesso ...che vorrà dire mai?
    codice:
     <style type="text/css" media="all">@import "./style/base.css";
                @import "./style/results.css";</style>
    Per forza... Metti a posto questa cosa, non toccare nulla e vedrai che va a posto!

    codice:
      <meta name="keywords" content="HTML, HyperText Markup Language, Validation,
          W3C Markup Validation Service" />
        <meta name="description" content="W3C's easy-to-use
          HTML validation service, based on an SGML parser." />
    Piccola annotazione. Andare a capo in un tag non è consigliato (semanticamente errato).

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 © 2026 vBulletin Solutions, Inc. All rights reserved.