Share via


CODE HTML Element

The CODE element specifies a code sample, and if a monospace (courier) font is installed on the device, the enclosed text is rendered in a monospace font. This is an inline element and requires a closing tag.

Attribute Value Description
CLASS   Associates the element with a CSS style.
Note   Supported only for devices running Windows Mobile 2003 software or later.
ID   Uniquely identifies the element within a document.
Note   Supported only for devices running Windows Mobile 2003 software or later.
STYLE   Provides the definition of the CSS styles used for this element.
Note   Supported only for devices running Windows Mobile 2003 software or later.

Requirements

Pocket PC: Windows Mobile 2000 and later
OS Versions: Windows CE 3.0 and later

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.