How is everything treated in HTML DOM?
A
Node
B
Attributes
C
Elements
D
Arrays
Correct Answer: Node
The HTML DOM model is constructed as a tree of Objects. In the HTML DOM (Document Object Model), everything is a node: The document itself is a document node. All HTML elements are element nodes. All HTML attributes are attribute nodes. Text inside HTML elements are text nodes. Comments are comment nodes.