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

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 UTC