Document
The Document interface is actually a child of Node and inherits most of its classes for processing the document from there.
The Document interface itself has methods to create various parts of the document:
- createElement, createAttribute, createCDatasection, createTextnode, . . .
and other methods such as
- getElementsByTagName, which returns a NodeList of all the tags in order as you traverse the document.