ExamVeda
Login
Home
This question belongs to Javascript Caching And Debugging
Caching and Debugging
?

How is everything treated in HTML DOM?

Answer & Solution
Correct Answer: Option A
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.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.