Professional Documents
Culture Documents
w3schools.com
HTML CSS JAVASCRIPT MORE
Previous Next
The document object is the root node of the HTML document and the "owner" of all other nodes:
(element nodes, text nodes, attribute nodes, and comment nodes).
The document object provides properties and methods to access all node objects, from within
JavaScript.
Tip: The document is a part of the Window object and can be accessed as window.document.
Browser Support
https://www.w3schools.com/jsref/dom_obj_document.asp[14-06-2017 15:03:14]
HTML DOM Document Objects
Object
https://www.w3schools.com/jsref/dom_obj_document.asp[14-06-2017 15:03:14]
HTML DOM Document Objects
https://www.w3schools.com/jsref/dom_obj_document.asp[14-06-2017 15:03:14]
HTML DOM Document Objects
document.lastModified Returns the date and time the document was last
modified
https://www.w3schools.com/jsref/dom_obj_document.asp[14-06-2017 15:03:14]
HTML DOM Document Objects
each statement
Warning
In the W3C DOM Core, the Document object inherits all properties and methods from the
Node object.
Avoid using these node object properties and methods on HTML document
objects:
Previous Next
https://www.w3schools.com/jsref/dom_obj_document.asp[14-06-2017 15:03:14]
HTML DOM Document Objects
COLOR PICKER
LEARN MORE
Tabs
Dropdowns
Accordions
Convert Weights
Animated Buttons
Side Navigation
Top Navigation
JS Animations
Modal Boxes
Progress Bars
Parallax
Login Form
HTML Includes
Google Maps
Loaders
Tooltips
Slideshow
Filter List
Sort List
SHARE
CERTIFICATES
HTML, CSS, JavaScript, PHP, jQuery, Bootstrap and XML.
Read More
https://www.w3schools.com/jsref/dom_obj_document.asp[14-06-2017 15:03:14]
HTML DOM Document Objects
W3Schools is optimized for learning, testing, and training. Examples might be simplified to improve reading and basic
understanding.
Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full
correctness of all content.
While using this site, you agree to have read and accepted our terms of use,
cookie and
privacy policy.
Copyright 1999-2017 by Refsnes Data. All Rights Reserved.
Powered by W3.CSS.
https://www.w3schools.com/jsref/dom_obj_document.asp[14-06-2017 15:03:14]