Home >Web Front-end >JS Tutorial >Introduction to the use of document.open() method in javascript_javascript skills
The document.open() method opens a new document, uses the document.write() method to write the document's content, and then uses the document.close() method to close the document operation so that its content is displayed.
For example: