<tt>
Teletype text is text that is displayed on a fixed-width display such as a teletype, text-only screen, or line printer.
Rendering expectations
The content of the <tt>
element is typically rendered in a monospaced font.
Specialization hierarchy
The <tt>
element is
specialized from <ph>
. It is defined in the
highlighting-domain module.
Attributes
The following attributes are
available on this element: universal
attributes and @keyref
.
Example
This section is non-normative.
The following code sample shows how the
<tt>
element can be used to apply
monospaced highlighting:
<p>Make sure that the screen displays <tt>File successfully created</tt> before
proceeding to the next stage of the task.</p>
While the example demonstrates a potential use of
<tt>
, use
<systemoutput>
if you have access to the
elements in the software domain.