W3C home > Mailing lists > Public > www-dom@w3.org > October to December 1998

Re: TBodies ...

From: John Cowan <cowan@locke.ccil.org>
Date: Wed, 07 Oct 1998 12:25:23 -0400
Message-ID: <361B95F3.61DCA7BF@locke.ccil.org>
To: DOM List <www-dom@w3.org>
Miles Sabin wrote:

> In other words, should the *implict* <TBODY> in the above
> HTML fragment tag be *explicitly* represented in the DOM?

Yes.  Because TBODY has "O O" omissibility (that is, both the
start-tag and the end-tag can be omitted), its presence is
inferred from the presence of a TR element.  The same is
true within HTML of the HTML, HEAD, and BODY elements,
and all of them must appear explicitly in the DOM.

The minimal fully-explicit HTML document is:


The TITLE element is not "O O", but it is a mandatory element,
indeed the only mandatory element that is not "O O".

John Cowan	http://www.ccil.org/~cowan		cowan@ccil.org
	You tollerday donsk?  N.  You tolkatiff scowegian?  Nn.
	You spigotty anglease?  Nnn.  You phonio saxo?  Nnnn.
		Clear all so!  'Tis a Jute.... (Finnegans Wake 16.5)
Received on Wednesday, 7 October 1998 12:25:34 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:04 UTC