[whatwg] Re: DOCTYPE shouldn't be optional

Malcolm Rowe malcolm-what at farside.org.uk
Thu Jul 15 11:28:14 PDT 2004


Ian Hickson writes:
>> .. and some of the DOM code, like whether anonymous elements exist in the
>> DOM, iirc.
> "Anonymous elements"?

Possibly not the correct term. Isn't it accurate to say that in HTML, a 
TBODY element is only present in the DOM if it is actually present in the 
source, while in XHTML, a TBODY element is created in the DOM even if it 
isn't present in the source? 

That was what I was thinking about when I wrote that comment, in any case. 
If it's complete rubbish, apologies for the confusion. 

Regards,
Malcolm



More information about the whatwg mailing list