HTML and CSS Reference
In-Depth Information
Name
samp
Synopsis
<samp> . . . </samp>
Indicates sample output from programs, scripts, and so on.
Usage
Categories:
Flow content, phrasing content, palpable content
Permitted contexts:
Where phrasing content is expected
Permitted content:
Phrasing content
Start/end tags:
Required/Required
Attributes
HTML5 Global Attributes
Example
<p>Provide alternative error messages to
<samp>
404 Not
Found
</samp>
.</p>