javascript what is text node code example Example: what a text node var div = document.createElement('div'); div.innerHTML = 'Y HALO THAR';