The Document Object

The open() and close() Methods

Click "Open" to open a document in a new window, write some text to it and close it: