tt

< html‎ | elements
Jump to: navigation, search

tt

This article is Not Ready.


Deprecated

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

{

Compatibility

Desktop

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support ? ? ? ? ?

Mobile

Feature Android BlackBerry Chrome for mobile Firefox Mobile (Gecko) IE Mobile Opera Mobile Opera Mini Safari Mobile
Basic support ? ? ? ? ? ? ? ?

See also

Related pages (MSDN)

  • xmp

Attribution

This article contains content originally from external sources.

Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]