What is the purpose of the DocumentFragment node type?

Hằng Đoàn

New member
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
 
Answer: a
Explanation: 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.
 

Tìm kiếm

Back
Top