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