HTML:标记语言
CSS:样式语言
JavaScript:脚本语言
Web API:编程接口
所有 Web 技术
学习 Web 开发
发现我们的工具
更好地了解 MDN
Document.close() 方法用于结束使用 Document.open() 打开的文档的写入。
Document.close()
Document.open()
close()
无。
无(undefined)。
undefined
// Open a document to write to it document.open(); // Write the content of the document document.write("<p>The one and only content.</p>"); // Close the document document.close();
加载中…