What DOM is not?
- The Document Object Model is not a binary description where it does not define any binary source code in its interfaces.
- The Document Object Model is not used to describe objects in XML or HTML whereas the DOM describes XML and HTML documents as objects.
- The Document Object Model is not represented by a set of data structures; it is an interface that specifies object representation.
- The Document Object Model does not show the criticality of objects in documents i.e it doesn’t have information about which object in the document is appropriate to the context and which is not.
HTML DOM (Document Object Model)
HTML DOM (Document Object Model) is a hierarchical representation of HTML documents. It defines the structure and properties of elements on a webpage, enabling JavaScript to dynamically access, manipulate, and update content, enhancing interactivity and functionality.
Note: It is called a Logical structure because DOM doesn’t specify any relationship between objects.
Table of Content
- Why DOM is required?
- Structure of DOM
- Properties of DOM
- Methods of Document Object Model
- What DOM is not?
- Levels of DOM: