HomeMenu
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

1