<SAMP>
The SAMP element is used to define sample program output. Mainly
used for technical documentation for software developers and web
developers, this will render a fixed-width and pre-formatted text.
The ending tag is required for this element.
Attributes
Attribute |
Description |
ID |
Identifies this tag to reference in script (program code) |
CLASS |
Define the class used to render this element (defined by a style sheet) |
TITLE |
A title that is associated with the element (displayed as a tooltip in Internet Explorer) |
|
Example
<CODE>print "Hello World!"</CODE>
<SAMP>Hello World!</SAMP>
Renders As:
print "Hello World!"
Hello World!
Compatibility
HTML 4.01
|