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