Teletype text

Teletype text is text that is displayed on a fixed-width display such as a teletype, text-only screen, or line printer.

Authoring format Syntax and example
XDITA

<tt>

Example needed
HDITA

<tt>

Example needed
MDITA (core and extended profiles)

Two backquotes ``

Example needed

The available attributes vary based on the authoring format:

XDITA and HDITA
The following attributes are available on this element: localization attributes, universal attributes, and @keyref.
MDITA
For the MDITA core profile, the equivalent of the XDITA @keyref attribute is supported. For the MDITA extended profile, attributes can be specified by using the HDITA representation.

Examples

This section is non-normative.

Example 1. XDITA example

The following example demonstrates the use of teletype text in an XDITA topic.

Example 2. HDITA example

The following example demonstrates the use of teletype text in an HDITA topic.

Example 3. MDITA example

The following example demonstrates the use of teletype text in an MDITA topic.

#