Re: [VE][65] add hint that <p> cannot have a block child like <p> or <div>

Andreas Prilop wrote, On 7/31/2009 8:35 AM:
> On Fri, 31 Jul 2009, Simon Effenberg wrote:
>
>   
>> it would be helpful if the error message would also give a hint that
>> <p> can't have block elements inside itself.
>>     
>
> No, I rather believe that
> http://validator.w3.org/check?prefill=1&fragment=%3Cp%3E%3Cp%3E%3C/p%3E%3C/p%3E#result
> is pretty clear.
As is the HTML spec, paragraph 9.3.1 Paragraphs: the P element

The P <cid:part1.09010506.04040205@knob.com> element represents a 
paragraph. It cannot contain block-level elements 
<cid:part2.00000501.07010403@knob.com> (including P 
<cid:part1.09010506.04040205@knob.com> itself).

Received on Friday, 31 July 2009 15:15:15 UTC