The dom defines a standard for accessing documents Dom level 1 provided a complete model for an entire html or xml document, including the means to change any portion of the document Dom level 2 was published in late 2000 It introduced the getelementbyid function as well as an event model and support for xml namespaces and css. The html dom (document object model) is a structured representation of a web page that allows developers to access, modify, and control its content and structure using javascript. The document object model currently consists of two parts, dom core and dom html
The dom core represents the functionality used for xml documents, and also serves as the basis for dom html. In short, the dom is a set of instructions on how to build a specific web page The dom tells a browser how to render the web page’s content, and allows web developers to edit the dom via source code.
WATCH