erro na validação w3c
<div class="tec"> <h2>tecnologia</h2> <ul class="ultec"> <?php $readBloco = read ('up_posts',"WHERE tipo = 'post' AND status = '1' AND cat_pai = '57' ORDER BY data DESC LIMIT 1,3"). foreach($readBloco as $bl): $t++. echo '<li'. if($t==2) echo ' class="last"'. echo '>'. getThumb($bl['thumb'], $bl['tags'], $bl['titulo'], '133', '237', '', '', '#'). echo '<span class="info">'. echo '<p class="titulo"><a href="'.BASE.'/artigo/'.$bl['url'].'" title="ver mais de '.$bl['titulo'].'">'.$bl['titulo'].'</a></p>'. echo '<p class="data">'.date('d/m/Y H:i',strtotime($bl['data'])).'</p>'. echo '</span>'. echo '</li>'. endforeach.?> </ul> tenho este código em php mas na altura de validar no w3c validator ele dá sempre este erro eu nao tou a haver o que está mal no código html -
/applications/core/interface/imageproxy/imageproxy.php?img=http://validator.w3.org/images/info_icons/error.png&key=78eda30d2624c0e8369bb05a0f416a49d0028c9dfe311f075bc53300c7332206" title="Error" alt="error.png" />*Line 160, Column 41*: document type does not allow element "p" here. missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag … <span class="info"><p class="titulo"><a href="[http://www.tekpt.comze.com/art…](http://www.tekpt.comze.com/art%E2%80%A6) [✉](http://validator.w3.org/feedback.html?uri=http%3A%2F%2Ftekpt.comze.com%2F. errmsg_id=65#errormsg) 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 "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").Discussão (4)
Carregando comentários...