HTML Encyclopaedia

The tt tag

The HTML element
<tt> text <tt>
tells the browser to render the text in a monopitch (not proportionally spaced) typeface.

This is <tt> style

This is sometimes called teletype style. This is a rarely used tag and the <code> tag is to be preferred when the monopitch effect is required, typically for extracts from computer programs.


See also <code> and general notes on text styles