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 −


   <title>Title of the document</title>
<h2> HTML document</h2>
   <p>This is a paragraph.</p>
   <p>This is another paragraph</p>
Published on 01-Oct-2018 11:15:20