- From: HINOJOSA Benjamin <benjamin.hinojosa@univ-lille3.fr>
- Date: Mon, 24 Jan 2005 13:03:26 +0100
- To: www-validator@w3.org
Received on Monday, 24 January 2005 11:59:30 UTC
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 UTC