JSFiddle - React, Tailwind, and code Playground

HTML

<div class="my-link"></div>

JavaScript

$('.my-link').html('<a href="http://www.google.com">Google</a>');