Re: HTML 3.0 suggestion

Mike Meyer ([email protected])
Thu, 28 Sep 95 14:40:37 PST


> > Yesterday I had posted to this mailing list a request to make
> > list items "containers" by adding a </LI> tag to the HTML spec.
> > I received a fair amount of email that said that I should have
> > looked into it a little on my own, since it was already in the
> > standard.
> [Carl continues to reference the HTML 2 spec and says it is not listed
> there.]
> I have printed the HTML 3 spec as presented by W3.org and I can't find it
> listed under the OL/UL sections there either. Could someone please list
> the source where it is a part of the standard?
> BTW, I can't find the </IMG> tag in any standards either, although I've
> seen it used by some HTML editors...

That's because the standards don't list tags per se, but list generic
identifiers (aka GI, like LI, UL, IMG, etc.). When it talks about
tags, it usually talks about the start tag (like <FOO>) associated
with a GI, and not the end tag (like </FOO>).

Further, the end-tag for EMPTY elements (ala IMG) "must be omitted",
so documents using </IMG> are in error. (Ok, I don't have Goldfarb
here, but Eric van Herwijnen does agree with me).

BTW, there is a mention of </LI> in the second paragraph of 3.2.2 in
the HTML 2.0 draft (dated September 22, 1995, which has been accepted
by the IESG). Further, it is relevant to the question at hand:

Some elements only have a start-tag without an end-tag. For example,
to create a line break, use the `<BR>' tag. Additionally, the end
tags of some other elements, such as Paragraph (`</P>'), List Item
(`</LI>'), Definition Term (`</DT>'), and Definition Description
(`</DD>') elements, may be omitted.

<mike