What is the purpose of the DocumentFragment node type?
A
To hold a portion of a document
B
To split the document into fragments
C
To hold the entire document
D
To hold the fragments
Correct Answer: To hold a portion of a document
The DocumentFragment node type represents a “lightweight” Document object that has no parent. It is used as a lightweight version of Document that stores a segment of a document structure comprised of nodes just like a standard document.