Document.write() - Web API | MDN

Document.write() メソッドは、テキストの文字列を document.open() で開かれた文書ストリームに書き込みます。