HTML Tag Reference - HTML tag <tt>








The <tt> tag defines teletype text.

Browser compatibility

<tt> Yes Yes Yes Yes Yes

What's new in HTML5

The <tt> tag is deprecated in HTML5.

Example

<!DOCTYPE html>
<html>
<body>

<p>This text is normal.</p>
<p><tt>This text is teletype text.</tt></p>

</body>
</html>

Click to view the demo