Abscissa Tech Home Design Coding Media Server
Tutorials Courses Forums Resources
  Home
 
  Member Options
    Sign Up
  Log In
 
  Tools
    PowerHTML
    Teacher's Lounge
  References
  HTML
  PHP
  CSS
 
  Search
 
 
    Legalese
    Contact Us
    Privacy Policy
    About Abscissa

The Web Design Group

TT - Teletype Text

Syntax <TT>...</TT>
Attribute Specifications
Contents Inline elements
Contained in Inline elements, block-level elements

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

Style sheets 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 { font-family: monospace }

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

More Information

This document was modified from the Web Design Group's original work. The Web Design Group takes no responsibility for any errors introduced.