Learning Resources
 

tt tag for Monospace


The content of a element is written in monospaced font. Most fonts are known as variable-width fonts because different letters are of different widths (for example, the letter m is wider than the letter i). In a monospaced font, however, each letter is the same width.

The following word uses a monospaced typeface.

This will produce following result:

The following word uses a monospaced typeface.