HTML <samp> Tag
- 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