Home > Web Front-end > JS Tutorial > Introduction to the use of document.open() method in javascript_javascript skills

Introduction to the use of document.open() method in javascript_javascript skills

WBOY
Release: 2016-05-16 17:20:41
Original
1389 people have browsed it

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:

Copy code The code is as follows:


Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template