preformat-type
Type of Preformatted Text
Type of content contained in the <preformat>
element (for example, man-machine dialogs, poetry, ASCII art).
Usage
Distinctions between different
types of preformatted objects can be preserved using the @preformat-type
attribute, for example, by recording the content type of the text, such as “man-machine-dialogue”.
Remarks
Code such as scripts, pseudo-code, programming language examples, XML DTD or XSD fragments, or tagged XML file samples should be tagged as <code>.
Used on Element: <preformat>
Value | Meaning |
---|---|
Text, numbers, or special characters | A word or phrase that describes the content or names the type of content for the <preformat> element, for example, “dtd” for a DTD fragment or “xml” for an XML-tagged data sample. |
Restriction | This is an optional attribute; there is no default. |
Suggested usage
Although designed to accept any text as its value, potential values for this attribute might include:
poetry | Poems |
---|---|
ascii | ASCII art |
man-machine | A man-machine dialog, such as an error message and response |
tabular | Tabular structures created by using spacing and tabs rather than tagging the row
and column content using <array>
|