Skip to main content


A complete reference of PageSeeder's markup language PSML



The <monospace> element is a character-style element used to display text using a monospace font, for example for snippets of computer code.

Usage context

Element categorycharacter-style
PSML levelportable
Permitted content
Permitted parent
HTML equivalent<code>
OpenXML equivalent


This element does not have any attributes.


An example of <monospace> element.

The previous paragraph could be represented in PSML as:

<para>An example of <monospace>&lt;monospace&gt;</monospace>

This would typically be converted into HTML as:

<p>An example of <code><monospace&gt;</code> element.</p>


XML Schema

<xs:element name="monospace" type="character-style"/>

Relax Schema

element monospace { character-style }


This element was introduced in the first draft of PSML and is well-supported from PageSeeder 5.1.

See also

Related character style elements: <italic>, <bold>, <sup>, <sub>

Created on , last edited on