JSFiddle - React, Tailwind, and code Playground HTML <a href='http://example.com' id='myId'>content</a> JavaScript alert($('#myId').html());