HTML <samp> tag
The <samp> tag is a phrase tag which describes sample output from the computer program.
The sample output is displayed to the user when they are running the application.
Syntax:
<samp>text…</samp>
How Browser will display
INLINE.
Difference between HTML4.01, XHTML and HTML5
NONE.
Attributes used with <samp> tag
NONE
Note/Warning/Danger/Info/Success On few computer screens, the <samp> tag does not display the sample output properly, so it is better to use CSS styles as compared to this tag.
Global Attributes
The <samp> tag supports Global attributes.
Event Attributes
The <samp> tag supports Event attributes.
Supporting Browsers
Related Tags
Other set of Phrase tags are –
<code>, <kbd>, <var> & <em> tags.