DOM (Document Object Model) is really easy to understand!!!

1. What is DOM?

2. What is “D” “O” “M” for?

3. Is DOM same as HTML?

4. What is the relation between DOM and HTML?

Today, we will know 4 queries solution. These are above.
Lets learn…

DOM contains …


This content originally appeared on DEV Community and was authored by Riyad Mahmud

1. What is DOM?

2. What is “D” “O” “M” for?

3. Is DOM same as HTML?

4. What is the relation between DOM and HTML?

Today, we will know 4 queries solution. These are above.
Lets learn...

DOM contains Document Object Model.

D for Document.
It Means: HTML doc file

O for Object.

It Means: HTML element(body,head,p,h1,etc) / javascript object)
We can say, HTML element(p,h1,etc) = javascript object.

M for Model.
It Means: HTML doc’s “element/ javascript object” Model

DOM works as a “javascript object model”. Here, “javascript object” is known as HTML element(p,h1,etc). Actually, DOM is an HTML element(p,h1) model.

Best of luck.


This content originally appeared on DEV Community and was authored by Riyad Mahmud


Print Share Comment Cite Upload Translate Updates
APA

Riyad Mahmud | Sciencx (2021-11-07T16:30:03+00:00) DOM (Document Object Model) is really easy to understand!!!. Retrieved from https://www.scien.cx/2021/11/07/dom-document-object-model-is-really-easy-to-understand/

MLA
" » DOM (Document Object Model) is really easy to understand!!!." Riyad Mahmud | Sciencx - Sunday November 7, 2021, https://www.scien.cx/2021/11/07/dom-document-object-model-is-really-easy-to-understand/
HARVARD
Riyad Mahmud | Sciencx Sunday November 7, 2021 » DOM (Document Object Model) is really easy to understand!!!., viewed ,<https://www.scien.cx/2021/11/07/dom-document-object-model-is-really-easy-to-understand/>
VANCOUVER
Riyad Mahmud | Sciencx - » DOM (Document Object Model) is really easy to understand!!!. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/11/07/dom-document-object-model-is-really-easy-to-understand/
CHICAGO
" » DOM (Document Object Model) is really easy to understand!!!." Riyad Mahmud | Sciencx - Accessed . https://www.scien.cx/2021/11/07/dom-document-object-model-is-really-easy-to-understand/
IEEE
" » DOM (Document Object Model) is really easy to understand!!!." Riyad Mahmud | Sciencx [Online]. Available: https://www.scien.cx/2021/11/07/dom-document-object-model-is-really-easy-to-understand/. [Accessed: ]
rf:citation
» DOM (Document Object Model) is really easy to understand!!! | Riyad Mahmud | Sciencx | https://www.scien.cx/2021/11/07/dom-document-object-model-is-really-easy-to-understand/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.