HTML FORMATTING TAGS

  Eduaction Management 959 Lahore

Code With Jahangir 

Monospaced Font

FREE COURSES 

FREE CERTIFICATE 

 HTML FORMATTING TAGS

Monospaced Font

For monospaced font use <tt> tag on your HTML page.

 

                         

 

<tt> tag:   “used to display each letter with same width on an HTML page”

Syntax: 

<tt>
//content
</tt>

 

Using this <tt> tag we can display each letter with the same width. <tt> tag has also its corresponding </tt> tag. Each letter of an alphabet has different widths like ‘w’ is wider than ‘i’ so to overcome this we can use a monospaced font. The monospaced font displays each letter with the same width.

 

 NOTE:  According to HTML5, this tag has been deprecated and is now obsolete. We'll learn more about deprecated tags in the upcoming tutorial. 


Eduaction Management 959 Lahore

Code With Jahangir 

Monospaced Font

FREE COURSES 

FREE CERTIFICATE 

HTML FORMATTING TAGS

Previous Post Next Post

Contact Form