Skip to content
Related Articles
Get the best out of our app
GFG App
Open App
geeksforgeeks
Browser
Continue

Related Articles

HTML Tag

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

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).
Syntax: 

<tt> Contents... </tt>

Example: The below example illustrates the <tt> tag in HTML:

HTML




<html>
<body>
    <h1>GeeksforGeeks</h1>
    <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>
 
</body>
</html>


Output: 

Supported Browsers: 

  • Google Chrome
  • Internet Explorer
  • Firefox
  • Opera
  • Safari
My Personal Notes arrow_drop_up
Last Updated : 08 May, 2023
Like Article
Save Article
Similar Reads