HTML <samp> element
<samp> tag represents sample programming code. The text will be displayed in monospace font such that all characters are of the same width.
<samp>
<pre>
var d = new Date();
alert(d.toDateString()); //current date
alert(d.getDate()); //day of the month
d.setDate(24);
alert(d.toDateString());
</pre>
</samp>
var d = new Date();
alert(d.toDateString()); //current date
alert(d.getDate()); //day of the month
d.setDate(24);
alert(d.toDateString());