Buongiorno a tutti,
ho dei problemi di validazione sulla seguente pagina:
http://www.ilcapodannoaroma.com/capodanno/discoteche/
Mi da questo errore:
Most likely, you nested tags and closed them in the wrong order. For example
[i]...</p> is not acceptable, as [i] must be closed before
. Acceptable nesting is:
...</p>
Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, in HTML the <head> element must contain a <title> child element, lists require appropriate list items (<ul> and
- require
- ; <dl> requires <dt> and <dd>), and so on.
Ecco il codice HTML:
<div class="prezziclub">
<div class="infoclub">
<?php
if(get_post_meta($post->ID,'sonorita',TRUE)!='') { ?>
<span class="info">Sonorità</span>:
<?php echo get_post_meta($post->ID,'sonorita',TRUE).'</p>'; } ?>
<?php if(get_post_meta($post->ID,'clientela',TRUE)!='') { ?>
<span class="info">Clientela</span>:
<?php echo get_post_meta($post->ID,'clientela',TRUE). '</p>';} ?>
</div>
<ul>
<?php if(get_post_meta($post->ID,'cena_di_gala',TRUE)!='') { ?>
<li class="gala">Cena di gala: <span class="red">
<?php echo get_post_meta($post->ID,'cena_di_gala',TRUE).' €'.'</span>';} ?>
<?php if(get_post_meta($post->ID,'buffet',TRUE)!='') { ?>
<li class="buffet">Buffet: <span class="red">
<?php echo get_post_meta($post->ID,'buffet',TRUE).' €'.'</span>';} ?>
<?php if(get_post_meta($post->ID,'dopo_cena',TRUE)!='') { ?>
<li class="dopo">Dopo Cena: <span class="red">
<?php echo get_post_meta($post->ID,'dopo_cena',TRUE).' €'.'</span>';} ?>
<?php if(get_post_meta($post->ID,'prive',TRUE)!='') { ?>
<li class="prive">Privè: <span class="red">
<?php echo get_post_meta($post->ID,'prive',TRUE).' €'.'</span>';} ?>
<p class="continua">
Entra>>
</p>
<br style="clear"/>
</div>
Sembra che ci sia un problema nella chiusura del tag <ul>, o l'ordine di chiusura dei tag[*][b]<span> errato.
A me sembra tutto ok, non riesco a capire l'errore, c'è qualcuno che mi può aiutare?
Grazie
Alessandro

Rispondi quotando