Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

createTextNode

Description

The createTextNode of Document for JS returns a Text node whose data is data.

Syntax

text = document.createTextNode(data)

Parameters

data

An any type.

Examples

adoptNode

characterSet

compatMode

contentType

createCDATASection

createComment

createDocumentFragment

createElement

createElementNS

createProcessingInstruction

doctype

Document

documentElement

documentURI

exitPictureInPicture

getElementsByClassName

getElementsByTagName

getElementsByTagNameNS

implementation

importNode

pictureInPictureEnabled

URL

write

writeln

Web Hypertext Application Technology Working Group (WHATWG)

HomeMenu