Name

tt — HTML 4.01

Synopsis

<tt> . . . </tt>

Formats enclosed text as teletype or monospaced text.

Notes

Not in HTML5.

Start/End Tags

Required/Required

Attributes

Core, Internationalization, Events

Example

<p>Enter your birthday (Ex: <tt>07.19.1975</tt>):</p>

Get HTML & XHTML Pocket Reference, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.