document .createTextNode() code example Example: textNode document.createElement('elemento_a_crear');