W3C home > Mailing lists > Public > www-validator@w3.org > January 2005

Re: [VE][79] Error Message Feedback

From: HINOJOSA Benjamin <benjamin.hinojosa@univ-lille3.fr>
Date: Mon, 24 Jan 2005 13:03:26 +0100
Message-ID: <41F4E40E.8020205@univ-lille3.fr>
To: www-validator@w3.org
Ok tks.


David Dorward a écrit :

>On Sun, Jan 23, 2005 at 11:12:23PM +0100, Benjamin HINOJOSA wrote:
> 
>  
>
>>I really don't understand why this page is not valide because the p balise
>>is OPEN and CLOSED...
>>    
>>
>
>Under HTML 4.01 rules, the end tag on <p> elements is optional. <p>
>elements can not contain <table> elements (and it wouldn't make sense
>anyway, who ever heard of a paragraph containing a table of data?),
>therefore the start of the <table> implies an end to the <p>. Thus
>when the validator reaches the </p> there is no longer an open
>paragraph to close.
>
>  
>
>><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
>>    
>>
>
>  
>
>><p>
>><table  width="550" cellpadding="0" cellspacing="0" align="center">
>>    
>>
>...
>  
>
>></table></p>
>>    
>>
>
>  
>


Received on Monday, 24 January 2005 11:59:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:18 GMT