What is an HTMLCommentElement?

Hello,

Since both XML and HTML comments are the same why
is there an HTMLCommentElement that inherits from
HTMLElement ?
Wouldn't org.w3c.dom.core.Comment work fine for both
core, xml, and html?

What would HTMLCommentElement.getTagName() return?

Thanks,
Claude Zervas, UTL Co., Seattle

Received on Tuesday, 9 June 1998 03:27:03 UTC