+ 3

😌 Give the brief description of DOM

5th Jun 2017, 7:58 AM
Shaswat Singh
Shaswat Singh - avatar
2 odpowiedzi
+ 2
Think of a tree from roots to all the way up to the branches... Now how can you relate that to a HTML document ! well that's how a browser sees your HTML page once its completely loaded... The <html> tag is the root of the document... All other elements are the branches of the tree...An element within another element is called a child element (node) while the containing element is called a parent element (node)...In short the whole HTML document is treated as a collection of objects where objects being the individual HTML elements... Hope you get the idea✌
5th Jun 2017, 9:07 AM
Mrinal Bhagabati
Mrinal Bhagabati - avatar