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();
載入中…