preformat tag is used to insert a line or
block of pre-formatted text into a document. This can be useful for
situations where explicit line breaks or character alignment is necessary.
This CNXML:
<para id="fav-poem">
When I was in first grade, my favorite
poem went something like this:
<preformat id="pre-poem">
Roses are red
Violets are blue
Sugar is sweet
And all girls have cooties!
</preformat>
</para>
Results in this display:
Roses are red
Violets are blue
Sugar is sweet
And all girls have cooties!