<tt> tag

HTML <tt> tag

The <tt> tag stands for teletype text.

Syntax:
<tt>text..</tt>

Example

<p><tt>Text given inside this is teletype text</tt></p>

Default CSS value

NONE

How Browser will display

INLINE.

Difference between HTML4.01, XHTML and HTML5

HTML4 XHTML HTML5
None None <tt> tag is deprecated in HTML5

Attributes used with <tt> tag

NONE

Supporting Browsers

supporting-browsers for tags

Related Tags

This tag is not related with any other tags. As it is deprecated, you should consider using <samp>, <code>, <kbd> or <var> tags.

Tutorials for all brains!