The Samp Tag is a closed tag and needs to be closed using the closing Samp Tag </samp>.
The text within the opening and closing (<samp> and </samp>) tags becomes the indicated sample computer program output.
Syntax of HTML Samp Tag
<samp> Some computer output goes here … </samp>
Example of HTML Samp Tag
|HTML Samp Tag Code||Output|
Below is a </p><br /><samp>
sample of computer generated output
|Below is a sample of computer generated output|
Here in the above Samp HTML Tag example we can see that the text “sample of computer generated output” is mentioned as Sample output from a computer program.
HTML Samp Tag Supporting Browsers