Skip to content
Related Articles

Related Articles

HTML <tt> Tag

View Discussion
Improve Article
Save Article
  • Difficulty Level : Basic
  • Last Updated : 17 Mar, 2022

The <tt> tag is the abbreviation of teletype text. This tag is depreciated from HTML 5. It was used for marking Keyboard input. It was mainly used for formatting purposes. This tag was used in HTML 4 (Not Supported in HTML5).

<tt> Contents... </tt>

Below example illustrates the <tt> tag in HTML:



        <h2>tt Tag</h2>
       <!-- HTML tt Tag is used here-->
       <tt>GfG stands for GeeksforGeeks</tt>
<p><tt>It is a computer science portal for geeks</tt></p>


Supported Browsers: 

  • Google Chrome
  • Internet Explorer
  • Firefox
  • Opera
  • Safari


My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!