Code example for Document

Methods: createAttribute, createElement