JSFiddle - React, Tailwind, and code Playground

HTML

<div id="test"></div>

JavaScript

$("#test").text("<p>See this is showing the tags</p>");