Display monospace code formatting in HTML
Written By Gemma Johnson

Monospace is also referred to as Teletype <tt> in some settings but this is usually superseded by the use of <code>.
<p>
hello there
<br>
<br>
<code>this is monospace</code>
<br>
<br>
<tt> this is also monospace </tt>
</p>
RELATED ARTICLES
Found this tutorial helpful?