JSFiddle - React, Tailwind, and code Playground

HTML

<p id="p1" tabIndex="1">This is paragraph Click here..</p>
 <a href="http://www.google.com" id="link1" >test</a>
 document.getElementById('p1').onmouseover  = paragraphHTML;

JavaScript

$(document).ready(function(){
    $('#p1').focus(function(){alert($(this).html()); return false;});
});