How to underline string via JavaScript?
<p>I am working on a project involving Javascript and I need a string to be underlined. The code has the word "Date" in front of the current date (represented by the variable <code>now</code>). The current date needs to be underlined, not the word "Date".</p>

<p>This is the code I am using:</p>

<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-js lang-js prettyprint-override"><code>var now = new Date();
document.getElementById('date').innerHTML = "Date " + (now.getMonth()+1)+ "/"+ now.getDate()+ "/"+ now.getFullYear();</code></pre>
</div>
</div>
</p>

<p>How can I do this?</p>