How to get the list of document properties which can be accessed using W3C DOM?

HTMLJavascriptProgramming Scripts

The following are the document properties which can be accessed using W3C DOM −

Sr.No
Property & Description
1
Body
A reference to the Element object that represents the <body> tag of this document.
Ex − document.body
2
DefaultView
Its Read-only property and represents the window in which the document is displayed.
Ex − document.defaultView
3
DocumentElement
A read-only reference to the <html> tag of the document.
Ex − document.documentElement8/31/2008
4
Implementation
It is a read-only property and represents the DOMImplementation object that represents the implementation that created this document.
Ex − document.implementation
raja
Published on 23-Feb-2018 13:15:12
Advertisements