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

Steven Maddox wrote:
> Any/all of those things you point out would make a better message to see
> on the validator.

Better still would be a synthesis :

"As a paragraph cannot contain a form, the paragraph is automatically closed when an opening <form> tag is encountered (the closing </p> tag for a paragraph is optional).  Thus the closing </p> tag in the source code can no longer be matched with an open paragraph, and an error results.
Philip Taylor

Received on Saturday, 13 October 2018 09:41:05 UTC