The <tt> tag is not supported in HTML5. Use CSS instead.
The <tt> tag defines teletype text.
Element | |||||
---|---|---|---|---|---|
<tt> | Yes | Yes | Yes | Yes | Yes |
CSS syntax: <p style="font-family:'Lucida Console', monospace">
CSS Example: define teletype/monospace font for a <p> element
In our CSS tutorial you can find more details about specifying the type of font in a document.
The <tt> tag is not supported in HTML5.