var test_link = document.createElement("a"); test_link.appendChild(document.createTextNode(nombre)); td1.appendChild(test_link)