innerHTML . test , test id. test DOM . test document.getElementById('test') DOM Element.
createTextNode appendChild :
var test = document.getElementById('test');
test.parentNode.appendChild(document.createTextNode('hello'));
console.log(test.parentNode);