W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > January to March 2002

RE: <tr> and <td> closing tags

From: Jukka Korpela <jukka.korpela@tieke.fi>
Date: Wed, 13 Mar 2002 10:34:04 +0200
Message-ID: <621574AE86FAD3118D1D0000E22138A941855E@TIEKE1>
To: w3c-wai-ig@w3.org
dody suria wijaya wrote:

>  i've seen google don't close <tr> and <td> tags with </tr> and </td>.
>  probably  to  safe  some  precious  bytes. and browser don't seems to
>  care. is it still html compliant?

It formally complies with HTML specifications up to and including HTML 4.01,
but XHTML 1.0 makes closing tags obligatory for all elements.

On the practical side, some widely used browsers still choke on some
constructs when the "optional" closing tags for table cells are omitted. The
effects vary from completely messing up table presentation to just ignoring
some CSS rules. In a word, it is poor economy to save those precious bytes.

This is basically about good HTML authoring principles in general, so it's
something that might be best discussed in the Usenet group
news:comp.infosystems.www.authoring.html . Naturally, good authoring has an
impact on accessibility too, especially since if a page gets all messed up,
people will disabilities will often have great difficulties since they
probably cannot switch browser as easily as other people might.

Jukka Korpela
TIEKE Tietoyhteiskunnan kehittämiskeskus ry
Finnish Information Society Development Centre 
Salomonkatu 17 A, 10th floor, FIN - 00100 HELSINKI, FINLAND
Phone: +358 9 4763 0397 Fax: +358 9 4763 0399 
http://www.tieke.fi  jukka.korpela@tieke.fi
Received on Wednesday, 13 March 2002 03:33:30 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:36:07 UTC