Discussion :: Javascript - CS
- How is everything treated in HTML DOM?
Answer : Option A
Explanation :
In the HTML DOM (Document Object Model), everything is a node:
1. The document itself is a document node.
2. All HTML elements are element nodes.
3. All HTML attributes are attribute nodes.
4. Text inside HTML elements are text nodes.
5. Comments are comment nodes.
Be The First To Comment