HTML teletype text - how to use <tt> tag

The HTML <tt> tag is no longer supported in HTML5. It was used to define keyboard input. The <kbd> tag should be used instead.

Attributes

The tt tag supports the global and event attributes.