JSFiddle - React, Tailwind, and code Playground
HTML
<input type="text" value="<div id='test'>hello</div><strong>" />
JavaScript
$('#test').html("<div id='test'>hello</div><strong>");
<input type="text" value="<div id='test'>hello</div><strong>" />
$('#test').html("<div id='test'>hello</div><strong>");