JSFiddle - React, Tailwind, and code Playground
HTML
<script type="text/javascript">
function doSomething(x) {
$(x).html('<p style="background-color:red">BLABLA</p></br>');
}
</script>
<div onmouseover="$(this).html('<p>BLABLA</p></br>')"></div>
<div id="desirable" onmouseover="doSomething(this);"></div>
<div id="not_desirable" onmouseover="$(this).html('<p style="background-color:red>BLABLA</p></br></div>
CSS
div {
height: 50px;
background: blue;
margin: 10px;
}