W3C home > Mailing lists > Public > www-html@w3.org > September 2002

Re: XHTML preparation with li, b, i

From: (wrong string) šper <christoph.paeper@tu-clausthal.de>
Date: Thu, 26 Sep 2002 13:46:39 +0200
Message-ID: <01d701c26552$609471a0$3ef4ae8b@heim4.tuclausthal.de>
To: <www-html@w3.org>
Cc: "Bertha Bartholomew" <berthabart@hotmail.com>

*Bertha Bartholomew* <berthabart@hotmail.com>:
> Why does HTML 4.01 not require a closing </li> for the <li> tag?

That's a SGML feature (OMITTAG). It's main use is to keep the code smaller.
XML requires well-formedness, thus every start tag needs a corresponding end
tag or be an empty element.

> (e.g., <p> requires a </p>).

No, in HTML it doesn't. As many others it's closed implicitely.

> If HTML 4.01 is to help us get ready for XHTML and XHTML 2

That's not the purpose of HTML4.

Received on Thursday, 26 September 2002 10:32:39 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:00 UTC