<pre>
The <pre> element contains text for which all line breaks and
spaces are preserved. It is typically presented in a monospaced font. Do not use
<pre> when a more semantically specific element is appropriate, such as
<codeblock>.
Content models
See appendix for information about this element in OASIS document type shells.
Inheritance
- topic/pre
Example
The following example will preserve all line breaks and white space.
<pre> MEMO: programming team fun day Remember to bring a kite, softball glove, or other favorite outdoor accessory to tomorrow's fun day outing at Zilker Park. Volunteers needed for the dunking booth. </pre>
The rendered result will differ depending on the processor that is rendering your DITA content. It will generally look something like this:
MEMO: programming team fun day Remember to bring a kite, softball glove, or other favorite outdoor accessory to tomorrow's fun day outing at Zilker Park. Volunteers needed for the dunking booth.
Attributes
The following attributes are available on this element: Universal attribute group, Display attribute group, @outputclass, @xml:space, and @spectitle.