JSFiddle - React, Tailwind, and code Playground

JavaScript

var s = $("<li><a href='index.html'><h3>hello</h3></a></li>");
alert(s.html());