The Sample element can be used to indicate a sequence of literal characters and is typically rendered in a mono spaced font.

A sequence of <SAMP>literal characters</SAMP> commonly renders in a monospaced font.

would render as :

A sequence of literal characters commonly renders in a mono spaced font.

<SAMP> can also take the CLASS, ID and STYLE attributes to allow style sheet definitions to be applied to it. For more details of these attributes, see the Style Sheets topic.


<KBD> Information and Character Formatting Elements Overview <STRONG>