JSFiddle - React, Tailwind, and code Playground

HTML

<div id="myDiv">

<table>
    <tr>
        <td>
            <font class="abc"><a></a> - these are multiple </font></td>
        </tr>
</table>
    
</div>

JavaScript

alert($("#myDiv").find("table > tbody > tr > td > font ").html());