JSFiddle - React, Tailwind, and code Playground
HTML
<pre><code id="myHTML"><span style='font-size:20px'>Click Here to Apply </span></code></pre>
JavaScript
function revealElementHTML(el) {
var html = el.innerHTML;
el.innerHTML = "";
el.appendChild(document.createTextNode(html));
}
onload = function () {
revealElementHTML(document.getElementById("myHTML"));
};