Re: Wrong validation of <p> tag?

<p> is not nestable..... opening a new <p> element closes the preceding
one... so "<p class="article-summary">" is closed by "<p>Oggi scrivo
qualcosa..."

.... thus the yellow-coloured "</p>" has no matching "<p>"

On 26/09/2021 18:05, Maurizio Paglia wrote:
> This email was sent to you by someone outside the University.
> You should only click on links or attachments if you are certain that the email is genuine and the content is safe.
>
> Hi,
> the validator returns this error:
>
> Error: No p element in scope but a p end tag seen.
>  From line 132, column 17; to line 132, column 20
>            </p>↩
>
> On this piece of code:
>
>                  <p class="article-summary">↩
>                       <p>Oggi scrivo qualcosa relativo ad un argomento per il
> quale in tanti mi chiedono informazioni: la stampa fotografica dei files.</p>↩
> <p>Io sono il primo a sostenere che le fotografie non vanno guardate sullo
> schermo ma devono essere stampate.</p>↩
> <p>Anche in questo caso però, mi spiace dirlo, la maggior parte delle  …</p>↩
>                  </p>↩ <-- YELLOW colored
>
> If you desire to see the complete source, the tested page is:
> https://www.mauriziopaglia.it/blog
>
> It seems to me all is OK.
>
> Thanks,
> Maurizio
>
>
>
>

--
Ian Stuart.
Perl & Python developer,
EDINA,
The University of Edinburgh.
🚙
http://edina.ac.uk/
The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. Is e buidheann carthannais a th’ ann an Oilthigh Dhùn Èideann, clàraichte an Alba, àireamh clàraidh SC005336.

Received on Monday, 27 September 2021 10:40:02 UTC