create Textnode with createElement() method code example Example: createElement textnode document.createTextNode("Hello World, Hello Grepper!");