In this illustration, We will inform you about the <samp> tag in html5. The <samp> tag is used for specifying the output of a computer program or system in the html document. This tag must have opening and closing <samp> tags.
The syntax for <samp> tag is as:
|<samp>Your Text Here</samp>|
This tag have no specific attribute.
<title>Example of samp Tag</title>
<body>The normal text here.<br>
<samp>This is the sample text.<br>
You can see the difference in text.
Difference between HTML5 and HTML4.
Recommend the tutorial