Document Object Model: Difference between revisions

Content deleted Content added
DOM tree structure: MOS:HEADCAPS
Bolded the important point
Tags: Reverted Visual edit
Line 34:
In HTML DOM (Document Object Model), every element is a node:<ref>{{cite web | url=https://www.w3schools.com/js/js_htmldom.asp | title=JavaScript HTML DOM }}</ref>
 
* A document is a '''document node'''.
* All HTML elements are element nodes.
* All HTML attributes are attribute nodes.