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

General questions pertaining to how certain issues can be resolved. This forum is closed with effect from February 2019. Please post future requests on https://github.com/sayontan/suffusion.
Forum rules
This forum is closed with effect from February 2019. Please post future requests on https://github.com/sayontan/suffusion.

1. No offensive language and no mocking
2. Please do a thorough search before you post something. Trust us, there is a high probability that the question you are asking has been asked previously.
3. No soliciting. You cannot post here soliciting bids for people offer you quotes, or even offer money to people for some work. You will be moderated if you do so. If you are looking for help, please post your request on http://jobs.wordpress.net or http://codepoet.com
4. Please be reasonable. You are getting software and support. For free. Complicated requests from a general purpose theme are not welcome and some volunteers might lose patience with you.
5. Please do your due diligence. If you posted a query and we answered with a link, take the trouble to go through the link contents.
6. Please post with complete information. Requests for help MUST be accompanied with your URL, particularly if you are asking something like "Why am I seeing a blank space?"
Locked
clunsyman
Posts: 26
Joined: 12 Jun 2012, 05:32

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

Post by clunsyman » 23 Apr 2014, 03:04

Drake helped me to use validation. Now I have an error I don't know what to do with it.
I have this code in page http://www.assen35.nl/club-info/organisatie/

Code: Select all

[caption id="attachment_4928" align="alignleft" width="450"]<a onclick="MyWindow=window.open('http://www.assen35.nl/bestanden35/Kantine_Achilles.htm','MyWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=600,height=400'); return false;" href="#"><img src="http://www.assen35.nl/wp-content/uploads/2012/09/Kantine_Achilles-300x225.gif" alt="" width="450" height="225" class="size-medium wp-image-4928" /></a><i>De kantine van Achilles. Klik op de foto voor meer foto's.</i>[/caption]
When I validate this page on validator.w3.org I get an error:
Validation Output: 1 Error

Error Line 300, Column 1166: No p element in scope but a p end tag seen.
…kantine van Achilles. Klik op de foto voor meer foto’s.</i></p></div></p>
However I did not put any </p> tag in it.

What is the problem? Is it really a problem because the code is working OK on the website?

clunsyman
Posts: 26
Joined: 12 Jun 2012, 05:32

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

Post by clunsyman » 23 Apr 2014, 12:55

Problem solved. Can't explain it. After I put the code between <div> and </div> the validation was OK....

Locked