JavaScript – DOM document.defaultView Property
The document.defaultView property returns the document’s window object.
The document.defaultView property returns the document’s window object.
The document.designMode property sets or returns if the document is editable.
The document.doctype property returns a document’s doctype object. And doctype.name returns the name of the doctype.
The document.documentElement property returns a document’s element object.
The document.documentURI property sets or returns a document’s location.
The document.domain property returns the domain name of the server the document was loaded from.
The document.embeds property returns a collection of all <embed> elements in the document.
The document.forms property returns a collection of all <form> elements in a document.
The document.head property returns the <head> element of the document.
The document.images property returns a collection of all <img> elements in a document.
The document.lastModified property returns the date and time the document was last modified.
The document.links property returns a collection of all links (<a> and <area> elements) in the document.
The document.readyState property returns the loading status of the current document.
The document.referrer property returns the URL of the document that loaded the current document.
The document.scripts property returns a collection of all <script> elements in the document.
The document.title property sets or returns the title of the document.
The document.URL property returns the full URL of the document.
The Element attributes property returns a collection of attributes in an element.
The Element childElementCount property returns the number of child elements of an element.
The Element childNodes property returns a list of an elements’s child nodes.