Adam Cooper wrote: > > Validating Error [64]: "document type does not allow element X here" > > Recently, the validator has been telling me that the TFOOT element is > not allowed. The tfoot element must occur between the thead (if present) and all tbody elements. This is wrong: <table> <thead>...</thead> <tbody><!-- one or more tbody elements --></tbody> <tfoot><!-- this must occur before tbody --></tfoot> </table> This is correct: <table> <thead>...</thead> <tfoot>...</tfoot> <tbody><!-- one or more tbody elements --></tbody> </table> This is also correct, though it doesn't have a thead element: <table> <tfoot>...</tfoot> <tbody><!-- one or more tbody elements --></tbody> </table> -- Lachlan Hunt http://lachy.id.au/Received on Wednesday, 9 November 2005 03:31:07 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:57:20 GMT