Information Object
Sample
Definition
A sample of work created by the author used as an example or template within the text.
Markup
Items that the author has placed in the text as sample work or examples to follow should be marked with the <samp> tag. This tag can be used in either block or inline settings.
Syntax
<samp>…</samp>
Example 1
<p>When writing a business letter, it is a good idea to use block letter style as shown below.</p>
<samp>
1234 University Ave.<br />
Missoula, MT 59801<br />
<br />
<br />
<br />
Bill Gates<br />
1234 Somewhere Ln.<br />
Seattle, WA 98034<br />
<br />
Dear Mr. Gates,<br />
<br />
......<br />
</samp>
Example 2
<p>You may use a form like the one below to request a credit report from your bank.</p>
<samp>
First Name:________________________ Middle Initial:_______ <br/>
Last Name:___________________________<br />
Address:_______________________________________________________<br />
City:______________________ State:_______ Zip:________________<br />
Social Security Number:____________________________ <br/>
Bank Name:____________________________________<br />
...
</samp>
See also Information Object: Computer Code and Information Object: Keyboard Input
Playback devices can be configured so that text tagged as <samp> will preserve all white space (line breaks, indentation, etc.).