The name “Document Object Model” was chosen because it is an “object model” is used in the traditional object oriented design sense: documents are modeled using objects, and the model encompasses not only the structure of a document but also the behavior of a document and the objects of which it is composed. In other words, the nodes in the above diagram do not represent a data structure, they represent objects, which have functions and identity.
If you want to get more details then visit this link
https://www.w3.org/TR/WD-DOM/introduction.html
Question and answer is powered by AnsPress.io