What is the purpose of the method createDocumentFragment()?
A
Creates a fragment object
B
Creates a document fragment
C
Creates imaginary node object
D
Create a node fragment
Correct Answer: Creates imaginary node object
The createDocumentFragment() method creates a imaginary Node object, with all the properties and methods of the Node object. DocumentFragments are DOM Nodes. They are never part of the main DOM tree.