<samp> HTML Tag

In this article we will discuss about how to use the samp Tag in HTML.
  • 1726

The HTML samp tag is used for indicating sample output from a computer program. It defines the sample output and indicated by the <samp> tag in HTML.

HTML Code:



    <title>This is my first web page</title>




        If you select the 'champion' option, you will receive the message


            The monkey is not a caterpillar</samp>.</p>

    When you click the <kbd>Cancel</kbd> button, you will be asked


        Are you sure you want to cancel the document</samp>

    <br>Click <kbd>Yes</kbd> to continue.




Ask Your Question 

Got a programming related question? You may want to post your question here
Programming Answers here
© 2020 DotNetHeaven. All rights reserved.