I understand you just want to know how to delete any element of the DOM.
Well, being elemento
the element you want to remove, you can do the following
elemento.parentNode.removeChild(elemento);
See an example:
document.getElementById('bt').addEventListener('click', function() {
const id = document.getElementById('txtrem').value;
const el = document.getElementById(id);
el.parentNode.removeChild(el);
});
<table id="tblItens" width="400px">
<tr>
<td id="td1">1</td>
<td id="td1">2</td>
<td id="td1">3</td>
</tr>
</table>
<label>Digite o Id que deseja remover</label><br>
<input type="text" id="txtrem">
<button id="bt"> teste </button>