HTML <samp> Tag
The <samp>
tag is used to define a computer program's sample output. The material is shown in the browser's default monospace typeface.
This tag has not been deprecated. However, by utilizing CSS, a richer effect may be achieved.
Syntax
Supported Browsers
Element | Chrome | Firefox | Safari | Edge / IE | Opera |
---|---|---|---|---|---|
<samp> | Yes | Yes | Yes | Yes | Yes |