W3C home > Mailing lists > Public > site-comments@w3.org > May 2003

Re: Is this an error?

From: Ian B. Jacobs <ij@w3.org>
Date: 20 May 2003 09:55:44 +0200
To: Mandy Richardson <mandy@clockworx.co.uk>
Cc: site-comments@w3.org
Message-Id: <1053417344.914.24.camel@seabright>

On Mon, 2003-05-19 at 18:32, Mandy Richardson wrote:
> Hi,
> On the example showing how to associate data cells...
> http://www.w3.org/TR/WCAG10-HTML-TECHS/#identifying-table-rows-columns
> the closing TR tags are missing, and on some of the proceeding examples the
> closing TD tags are missing.
> I thought you must always close theses tags. Is this a mistake?

Hi Mandy,

In HTML, end tags for some elements are optional. In XHTML,
end tags for non-empty elements are required. 

There are advantages to including end tags (and if your
content is XHTML you can use cool tools like XSLT). 

You can use Tidy for things like adding end tags.

Thank you,

 - Ian
> -- 
> Ian Jacobs (ij@w3.org)   http://www.w3.org/People/Jacobs
> Tel:                     +1 718 260-9447
Received on Tuesday, 20 May 2003 03:55:47 UTC

This archive was generated by hypermail 2.4.0 : Monday, 18 April 2022 20:33:42 UTC