• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Description

The HTMLHtmlElement is the root element of any HTML or XHTML document. This element has no parent element (its parent node is the HTMLDocument). The only siblings this element may have are processing instructions, document type declarations, and comments. A convenient way to access the root element with the DOM is document.documentElement.

The DOM Level 1 defines one property of the HTMLHtmlElement that does not exist in the HTMLElement interface. This property, the version property, has been deprecated in favor of version information that the document type declaration stores (see Chapter 20 for the DocumentType interface).


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint