W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2001

Re: Empty paragraphs

From: Richard A. O'Keefe <ok@atlas.otago.ac.nz>
Date: Wed, 5 Sep 2001 10:57:43 +1200 (NZST)
Message-Id: <200109042257.KAA225290@atlas.otago.ac.nz>
To: html-tidy@w3.org, lee@novonyx.com
Lee Passey <lee@novonyx.com> wrote:
	I'm going to embarrass myself by displaying my ignorance. Can't an empty
	table cell be specified by an empty pair of tags, with no enclosed text?
	(e.g. <td></td> as opposed to <td>  </td>)
	
From the HTML 4.01 DTD:

    <!ELEMENT (TH|TD)  - O (%flow;)* -- table header cell, table data cell-->
	
Since bare text is allowed in a table cell, XHTML must also formally
allow a table cell to be empty.

I do remember having trouble with empty table cells, so I don't ever write
them any more, but it was sufficiently long ago that I no longer recall why.
Received on Tuesday, 4 September 2001 18:58:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:46 GMT