JSFiddle - React, Tailwind, and code Playground
HTML
<html>
<table id="test">
<tr>
<td>1</td><td>2</td>
</tr>
<tr>
<td>2</td><td>3</td>
</tr>
</table>
</html>
JavaScript
var table = document.getElementById('test');
console.log(table.rows[0].cells[0].innerHTML);