var row = document.createElement('tr'); var cell = document.createElement('td'); cell.innerHTML = "текст"; row.appendChild(cell); table.appendChild(row);