Note: Creates a new text node. Syntax: document.createTextNode(param1) Parameters: param1 Optional; the nodeValue property value.