Name
<TT> — NN all IE all HTML all
Synopsis
<TT>...</TT>
End Tag: Required
The TT
element renders its content as monospaced text (indicating a teletype
output). The element is intended to be strictly a formatting—as
opposed to a contextual—element. If you are looking for a
contextual setting for computer program code or input, see the
CODE, KBD, and
SAMP elements. As with most font-related elements,
the use of style sheets is preferred.
Example
<P>The computer said, <TT>"That does not compute."</TT></P>
Object Model Reference
- IE
[window.]document.all.elementID
Attributes
|
|
|
|
|
|
|
|
|
Event Handler Attributes
|
Handler |
NN |
IE |
HTML |
|---|---|---|---|
onClick |
n/a |
4 |
4 |
onDblClick |
n/a |
4 |
4 |
onDragStart |
n/a |
4 |
n/a |
onHelp |
n/a |
4 |
n/a |
onKeyDown |
n/a |
4 |
4 |
onKeyPress |
n/a |
4 |
4 |
onKeyUp |
n/a |
4 |
4 |
onMouseDown |
n/a |
4 |
4 |
onMouseMove |
n/a |
4 |
4 |
onMouseOut |
n/a |
4 |
4 |
onMouseOver |
n/a |
4 |
4 |
onMouseUp |
n/a |
4 |
4 |
onSelectStart |
n/a |
4 |
n/a |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access