This page is Not Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

tt

Summary

The teletype element (<tt>) creates monospaced text. It’s use is deprecated in favour of semantic elements like <code> and CSS styles. However, the tt element is still widely supported in browsers.

Overview Table

DOM Interface
HTMLElement

This feature is supported in HTML4, but is non-conforming in HTML5. Use CSS instead.

Examples

This example uses the TT element to render text in a fixed-width font.

<TT>Here's some plain text.</TT>

Standards information

HTML information

{

See also

Related pages

  • xmp

Attributions