8.5 Creating Elements and Other Nodes
We can create a number of different things, such as elements, attributes, and comments, using the
document interface. We can also create a lightweight version of a document called a
documentFragment. This lets us manipulate elements in memory, improving performance. We’ll look at these topics in this lesson.