HTML <tt> element

Html <tt> element : Definition

• Does not supports in HTML5.

HTML <tt> element stands for teletype element, this element was used in earlier version HTML4 to define text in monospaced font or fixed-width fonts to render as teletype.

• Since <tt> element is no longer uspported in HTML5, you are recommended to use element such as <i>, <b>, <strong> etc.



Html <tt> tag example

<!DOCTYPE html>
<html>
<head>
  <title>HTML tt tag example</title>
</head>
<body> 
</body>
<html>

Output:


 

Some normal text. Some teletype text.