DEV Community

Discussion on: Explain What is DOM like I'm 🖐

Collapse
 
roman4u profile image
Roman4u

This a great, and I think I understand. But I have a question with regards to how you're using the term 'parse' in your explanation. For instance, in the following sentence:

the HTML document IS the document, but then it is parsed and out of it comes the object model. Hence Document... Object Model.

would it be fine to substitute 'parse' with either 'analyze' or 'interpret'? What I'm asking is: is there another word instead of 'parse' that can be used to help me better understand.

Collapse
 
richarddavenport profile image
Richard Davenport

@roman4u, the object model is created from the document. I would agree with you. You could say the document is analyzed or interpreted and an object is created from the document.