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

    2 errori validazione XHTML

    Salve, è circa un mesetto che ho un blog in wordpress e mi sto "dilettando" nel cercare di mantenerlo aderente agli standard sistemando gli errorini che escono dal validatore. Questa volta non riesco a rimediare a 2 errori, vi posto il problema

    [QUOTE] 1. Error Line 68, column 2: document type does not allow element "p" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag .



    e con questo BSoD spettacolare inauguro la categoria “[b]figure demmmM

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


    2. Error Line 69, column 14: end tag for "p" omitted, but OMITTAG NO was specified .

    </div>

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


    3. Info Line 64, column 0: start tag was here .





    65.# <object type="application/x-shockwave-flash" data="http://www.youtube.com/v/RgriTO8UHvs" height="350" width="425">
    66.# <param name="movie" value="http://www.youtube.com/v/RgriTO8UHvs"></param>
    67.# </object>
    68.#

    e con questo BSoD spettacolare inauguro la categoria “figure demmmMerda”</p>
    69.# </div>[/CODE]

    sapete dirmi cosa non va?vorrei imparare per bene a correggermi gli errori da solo, quindi oltre alle correzioni che potete darmi vorrei anche dei consigli. Ciao e grazie

  2. #2
    allora il secondo è semplice, dice che hai scordato a chiudere il primo

    , mentre il primo come spiega il validatore non puoi utilizzare elementi di blocco con elementi in linea

  3. #3
    ok grazie tutto fatto.Adesso il blog passa la validazione xhtml

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.