<monospace>

Monospace Text (Typewriter Text)

Used to mark text that should appear in a non-proportional font, such as courier.

Remarks

The <monospace> is only for monospaced words that are inline with other text, for example computer code fragments, parameters and operators, etc. For block monospace elements, particularly where spaces and line breaks also need to be preserved, use either the generic block structural element <preformat> (which can hold ASCII art, man-machine dialog, or shape poetry) or the semantically explicit element <code> (which holds script or computer coding examples).

Attributes

Content Model

<!ELEMENT  monospace    (#PCDATA %emphasized-text;)*                 >

Expanded Content Model

(#PCDATA | email | ext-link | uri | inline-supplementary-material | related-article | related-object | bold | fixed-case | italic | monospace | overline | roman | sans-serif | sc | strike | underline | ruby | alternatives | inline-graphic | private-char | chem-struct | inline-formula | tex-math | mml:math | abbrev | milestone-end | milestone-start | named-content | styled-content | fn | target | xref | sub | sup)*

Description

This element may be contained in:

Example

...
<p>... An example of one tag and its anti-tag complement is shown
below:</p>
<p>
<monospace>5&#x2032;-TACT.TTAC.ACAT.ATCA.CTTT.CTTT.CAAA.AATC-3&#x2032; </monospace>
</p>
<p>
<monospace>3&#x2032;-ATGA.AATG.TGTA.TAGT.GAAA.GAAA.GTTT.TTAG-5&#x2032;</monospace>
</p>
<p>Because of the words used to construct the tag repertoire ...</p>
...