JSFiddle - React, Tailwind, and code Playground JavaScript document.body.appendChild(jQuery.parseHTML('<a title="xxx />">xxx /></a>')[0]);