TT Description:
The TT tag creates teletype or monospaced fonts of the enclosed text. But if you’re not using the TT tag to markup the text as teletype, it’s recommended that you use the font-weight style property.
This tag is a font style tag. Most font style tags are rendered by the browser in a specific style. But it’s recommended that you use CSS if you need to style text in that form.
TT Web Browser Support:
- AvantGo Windows CE
- Chrome 1, 2, 3, 4, 5
- Firefox 1, 2, 3
- Internet Explorer 2, 3, 4, 5, 6, 7, 8
- Netscape 2, 3, 4, 6, 7, 8
- Opera 3, 4, 5, 6, 7, 8, 9, 10
- Safari 1, 2, 3, 4, 5
- WebTV/MSN TV
HTML Versions
TT Attributes:
TT End Tag:
Contents:
CDATA Usually text. The following tags are valid within the TT tag:
a,
abbr,
acronym,
applet,
b,
basefont,
bdo,
big,
br,
button,
cite,
code,
dfn,
em,
font,
i,
iframe,
img,
input,
kbd,
label,
map,
object,
q,
s,
samp,
script,
select,
small,
span,
strike,
strong,
sub,
sup,
tt,
u,
var
TT Valid Context:
The TT tag is valid within the following tags:
a,
abbr,
acronym,
address,
applet,
b,
bdo,
big,
blockquote,
body,
button,
caption,
center,
cite,
code,
dd,
del,
dfn,
div,
dt,
em,
fieldset,
font,
form,
h1,
h2,
h3,
h4,
h5,
h6,
i,
iframe,
ins,
kbd,
label,
legend,
li,
noframes,
noscript,
object,
p,
q,
s,
samp,
small,
span,
strike,
strong,
sub,
sup,
td,
th,
tt,
u,
var
TT Usage:
standard teletype text
<tt>Compare teletype text</tt> to non-teletype text.
TT Special Notes:
- Use the teletype tag when you want a monospaced font.
- Do not use it for text that represents computer code — use the CODE tag.
- This tag has a distinct advantage over the PRE tag (that many people use to get monospaced fonts), because it doesn't affect the formatting of the text.

