How do we do computer output formatting using the <samp> tag in HTML?

HTMLWeb DevelopmentFront End Technology

<samp> tag is a phrase tag.It is used to identify the sample output from a computer program. Most browsers will display the <samp> element in monotype font.

This tag can be used in html document as −

Example

<html>
</html>