PSML

A complete reference of PageSeeder's markup language PSML

<monospace>

Summary

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
PSStandard equivalent<monospace>

Attributes

No attributes.

Examples

An example of <monospace> element.

The paragraph above could be represented in PSML as:


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

This would typically be converted into HTML as:

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

Schema

XML Schema

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

Relax Schema

element monospace { character-style }

Compatibility

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