var cell = document.createElement("td");
cell.appendChild(document.createTextNode("sometext"));