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

    validazione e tag noscript

    un aiuto perfavore, non mi viene validata una pagina a causa di phpstats l'errore sembra essere il tag noscript, posto il codice cambiando l'url così non mi accusate di pubblicità occulta, sotto ad esso ho copiato gli errori di validazione:

    <p class="nascondi"><script type="text/javascript" src="http://www.gnegnep.it/statistiche/php-stats.js.php"></script>
    <noscript></noscript>
    </p>

    # Error Line 124 column 9: document type does not allow element "noscript" here; missing one of "object", "ins", "del", "map", "button" start-tag.

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


    # Error Line 124 column 87: document type does not allow element "img" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "address", "fieldset", "ins", "del" start-tag.

    .../statistiche/php-stats.php" alt="" ></noscript>

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


    # Error Line 124 column 98: end tag for "img" omitted, but OMITTAG NO was specified.

    ...e/php-stats.php" alt="" ></noscript>

    You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
    help

  2. #2
    Quando non mettete il link al report e decidete invece di copiarlo qui sul forum, dovete sempre avere l'accortezza di scriverci anche quale DTD avete utilizzato per il documento in questione.

    Presuppongo si tratti di XHTML, quindi tutti i tag vanno chiusi, compresi quelli vuoti. Ecco che se in HTML il tag img si scriveva così:
    codice:
    [img]img.png[/img]
    in XHTML si scrive così:
    codice:
    [img]img.png[/img]
    Prova a vedere se l'errore era effettivamente dato da questo.

  3. #3
    si è in strict...non m'ero proprio accorto della chiusura..cmq gli errori ora sono 2...sempre per il tag noscript a quanto sembra...riposto:

    # Error Line 124 column 9: document type does not allow element "noscript" here; missing one of "object", "ins", "del", "map", "button" start-tag.

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


    # Error Line 124 column 88: document type does not allow element "img" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "address", "fieldset", "ins", "del" start-tag.

    ...statistiche/php-stats.php" alt="" /></noscript>

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

  4. #4
    Ciao, avevo il tuo stesso problema sul mio blog, ma ho risolto così:



    <p class='center'>

    <script type="text/javascript" src="http://codice.shinystat.com/cgi-bin/getcod.cgi?........"></script></p>
    <noscript>
    <p class='center'><a href="http://www.shinystat.com" >
    </a></p>
    </noscript>

    Ho chiuso tutto nei paragrafi tranne i noscript.

    Dimmi se funziona anche a te, ciau!!

  5. #5
    ... mi sono appena accorto di aver risposto ad un post vecchio di mesi...

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.