Description:

The <samp> tag is used for indicating sample output from a computer program, script etc. The <samp> tag surrounds the sample word/phrase.

Example Code:
You will see <samp>END PROGRAM</samp> after 
it stops scrolling.
If it never stops, send the <samp>STOP</samp> 
command to the program.
Result:
You will see END PROGRAM after it stops scrolling. If it never stops, send the STOP command to the program.
Attributes:

None

Global Attributes:

The <samp> tag also supports the Global Attributes in HTML5

Event Attributes:

The <samp> tag also supports the Event Attributes in HTML5



Last updated on 2 August 2018 By Rene Spronk

View All HTML Tags

Errors? Please help to keep this list up to date, If you find any errors, please contact us, so that we can get them fixed.