TT - Teletype Text

Syntax <TT>...</TT>
Attribute Specifications
Contents
Contained in ,

The TT element suggests that text be rendered as teletype or monospaced text. In most cases, use of a such as , , or is more appropriate since these elements express the meaning of the text more clearly.

should be used to complement or replace instances of TT. For example, replacing

<H1><TT>My heading</TT></H1>

with

<H1>My heading</H1>

and

H1 { : monospace }

in a style sheet allows the author to change the presentation of all elements in an entire site by changing just one line in the style sheet.

More Information