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