W3C home > Mailing lists > Public > www-validator@w3.org > April 2003

Re: I think I've found a file that fails & shouldn't

From: John Colby <john@colby.evesham.net>
Date: Fri, 18 Apr 2003 16:29:54 +0100
Message-Id: <5.2.0.9.0.20030418161624.01ee69c0@pop.evesham.net>
To: www-validator@w3.org

Quoting Liam's mail

"The ending tag for p is optional (except in XHTML) and is implied by the
following start-tag for p (or table, h1, div, etc.)."

And you have a table enclosed within <p> . . . </p> tags (within a cell of 
a table).

Interpreting what Liam says, when a parser finds a start tag that 
effectively terminates another tag it will count as an error the 
termination tag you have written wherever it is, which is what is happening 
at the end of your table within a table. In this case, the paragraph tags 
are redundant and should both be removed. In my browsers it looks exactly 
the same. Do that, and it validates.

John


John Colby

john.colby@uce.ac.uk
Lecturer, School of Computing, Faculty of Computing, Information and English
F328a Feeney Building,  University of Central England, Franchise Street
Perry Barr, Birmingham B42 2SU phone +44 (0)121 331 6937
Received on Friday, 18 April 2003 11:30:06 GMT

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