write

The write JS Document adds the given string(s) to the Document's input stream.

Syntax

document.write(...text)

Examples

1

2

adoptNode

characterSet

compatMode

contentType

createCDATASection

createComment

createDocumentFragment

createElement

createElementNS

createProcessingInstruction

createTextNode

doctype

Document

documentElement

documentURI

exitPictureInPicture

getElementsByClassName

getElementsByTagName

getElementsByTagNameNS

implementation

importNode

pictureInPictureEnabled

URL

writeln

Web Hypertext Application Technology Working Group (WHATWG)

Home Menu