JSFiddle - React, Tailwind, and code Playground

JavaScript

alert($("<p><span>Hello</span></p>").html());