JSFiddle - React, Tailwind, and code Playground

JavaScript

var a = $("<a/>"); 
a.html("<div>asdasd</div>"); 
var s = a.html();
alert(s);