W3C home > Mailing lists > Public > www-validator@w3.org > July 2016

Error: No p element in scope but a p end tag seen.

From: Ben Butler <ben@animatedzombie.com>
Date: Tue, 5 Jul 2016 15:22:22 +1000
Message-ID: <C2FD8EA52398415683EB523BBF8FAEA8@medion>
To: <www-validator@w3.org>
I received this error in the html validator, but the html does contain a <p> tag at the beginning:

Error: No p element in scope but a p end tag seen.
>From line 27, column 572; to line 27, column 575


Perhaps there is an error in the parser or you may have an explanation for me. Here is the html extract that is failing:

<div class="text">
                            <p>Refer to section 5 for a full list of numbers and contacts you could use (such as Lifeline) when asked <i>Who would I talk to?</i> Review this checklist:<ul><li>Express your concerns</li><li>Be calm and supportive</li><li>Ask open-ended questions</li><li>Be open, make eye contact, use relaxed body language</li><li>Summarise</li><li>Treat problems seriously</li><li>Thank and acknowledge courage</li><li>Refer to Lifeline 13 11 14</li></ul>Remember: Starting a conversation can save someone's life.<br/><br/>Select <b>Next</b> to continue.</p>

Received on Tuesday, 5 July 2016 08:46:35 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:59:55 UTC