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:

<!DOCTYPE HTML PUBLIC "whatever">
<HTML><HEAD><TITLE></TITLE></HEAD><BODY></BODY></HTML>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:45 GMT