JSFiddle - React, Tailwind, and code Playground
HTML
<marquee behavior="scroll" bgcolor="yellow" loop="-1" width="30%"><i><font color="blue"><strong>Today's date is :<span id="time"></span></strong> </font></i></marquee>
JavaScript
var today = new Date();
document.getElementById('time').innerHTML=today;