Skip to content
Related Articles

Related Articles

HTML | <tt> Tag
  • Difficulty Level : Basic
  • Last Updated : 13 Oct, 2020

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 purpose.

<tt> Contents... </tt>

Below example illustrates the <tt> tag in HTML:



        <title>tt Tag</title>
            body {
            .gfg {
            .geeks {
        <div class = "gfg">GeeksforGeeks</div>
        <div class = "geeks"><<b>tt</b>> Tag</div>
<p><tt>It is a computer science poratl forgeeks</tt></p>


Supported Browsers: The browser supported by <tt> tag are listed below: 

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


My Personal Notes arrow_drop_up
Recommended Articles
Page :