Vidyalelo
JavaScript · Q127

Document Object Model And Event Handling

Programming · JavaScript · question 127

Q127

What is the purpose of the DocumentFragment node type?

A.
To hold a portion of a document
Answer
B.
To split the document into fragments
C.
To hold the entire document
D.
None of the mentioned

Answer: Option A

Solution

Answer: Option A
Solution:
The DocumentFragment node type represents a “lightweight” Document object, which can hold a portion of a document.