Visualizzazione dei risultati da 1 a 3 su 3
  1. #1
    Utente di HTML.it
    Registrato dal
    Feb 2009
    Messaggi
    126

    Errori segnalati dal validatore W3C

    Ciao a tutti,
    sto cercando di validare una pagina html con XHTML Strict, purtroppo non capisco cosa vogliano dire questi errori. Premetto che i tag di apertura/chiusura li ho controllati più volte!

    Forse sarà anche che non sono molto brava in inglese, ma non riesco proprio a capire cosa voglia dire...
    Validation Output: 12 Errors

    1. Error Line 203, Column 15: document type does not allow element "span" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag

    <span>Registrati alla newsletter!</span >

    The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

    One possible cause for this message is that you have attempted to put a block-level element (such as "

    " or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").

    ???? ERRORE SU CHIUSURA DELLO SPAN, cosa vuole dire? Sinceramente non comprendo...

    2. Error Line 204, Column 15: document type does not allow element "br" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag





    The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

    One possible cause for this message is that you have attempted to put a block-level element (such as "

    " or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").

    ???? MI DA' ERRORE SULLA CHIUSURA DEL PRIMO BR!!!

    3. Error Line 204, Column 21: document type does not allow element "br" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag





    The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

    One possible cause for this message is that you have attempted to put a block-level element (such as "

    " or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").

    ???? MI DA' ERRORE SULLA CHIUSURA DEL SECONDO BR!!!

    12. Error Line 211, Column 69: document type does not allow element "input" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag

    …"inviaNewsletter" type="submit" value="Invia" />

    The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

    One possible cause for this message is that you have attempted to put a block-level element (such as "

    " or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").

    ERRORE SULLA CHIUSURA DEL BOTTONE!!!
    CIao

  2. #2
    Prendiamo ad esempio il 1)
    Non solo ti dice che lo span l'hai messo in un punto sbaliato del codice, ma ti suggerisce pure dentro quale tag vorrebbe che stesse uno span ("p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del").

    Corretto il primo dimuuiranno forse anche altri errori...

    ...e continui così finche non sei a Zero...
    Fantasupermegafavolipermeramagicultra irresistibili
    4 10 30 100 1001 personaggi insuperabili fantaincredibili ultraimpossibili iperterribili irresistibili!!!

    "... a quell'età ... bastava un dito per fare la pace ..."
    fotine

  3. #3
    Utente di HTML.it
    Registrato dal
    Feb 2009
    Messaggi
    126
    Grazie per la risposta, ora è tutto ok, purtroppo con l'inglese non vado molto d'accordo

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.