SAMP - sample output
To present sample output from programs, commands, scripts etc.
general notes on rendering markup.
Text container, i.e.
any element that may contain text elements.
This includes most HTML elements. In particular,
text elements can be nested.
Notice that this disallows e.g. paragraph breaks.
The fatal error message <SAMP>Bus error - core dumped</SAMP> can be caused
by very different bugs in your program.
As usual in HTML,
division into lines and the use of blanks and tabs
is selected by the browser, not honoring the one in the HTML file.
large pieces of output are more suitably presented using the
PRE element or as separate text files
to which you have links in HTML files.
In HTML 2.0 this element was defined as follows:
However, since the
description is more specific and restrictive,
you should use SAMP only to present sample output,
not e.g. in the way
the example in the HTML 2.0 specification suggests.
The SAMP element
indicates a sequence of literal characters,
typically rendered in a mono-spaced font. For example:
The only word containing the letters <samp>mt</samp> is dreamt.
notes on presenting interaction with computer
general remarks on phrase elements.
of last update: