tt

Darwin Information Typing Architecture (DITA) Version 1.3 Part 1: Base Edition

Document
Darwin Information Typing Architecture (DITA) Version 1.3 Part 1: Base Edition
Version
1.3
Author
OASIS DITA Technical Committee

The tt (teletype) element is typically used to apply monospaced highlighting to the content of the element. This element is part of the highlighting domain. Use this element only when a more semantically appropriate element is not available. For example, for specific items such as inline code fragments, use the codeph element.

Note: Style sheets can be used to format the tt element differently, just like any other element can be restyled. Thus, it is not the case that content in tt elements will necessarily be rendered as monospaced.

Content models

See appendix for information about this element in OASIS document type shells.

Inheritance

+ topic/ph hi-d/tt

Example

<p>Make sure that the screen displays <tt>File successfully created</tt> before
proceeding to the next stage of the task.</p>

While the previous example demonstrates a potential use of tt, it might be more properly encoded using systemoutput.

Attributes

The following attributes are available on this element: Universal attribute group and outputclass.