Horje
HTML <tt> Tag

Not Supported in HTML5.

The <tt> tag was used in HTML 4 to define teletype text.


What to Use Instead?

Consider the <kbd> element (for keyboard input), the <var> element (for variables), the <code> element (for computer code), the <samp> element (for computer output), or use CSS instead.


What to Use Instead of HTML <tt> Tag?

It Defines a teletype/monospace font for a <p> element (with CSS).
index.html
Example: HTML
 <p style="font-family:'Lucida Console', monospace">This text is monospace text.</p> 

Output should be:

What to Use Instead of HTML <tt> Tag?




html tt

Type:
Develop
Category:
Web Tutorial
Sub Category:
HTML Tag
Uploaded by:
Admin


Read Article
https://develop.horje.com/learn/1434/reference