HTML <samp> Tag
Computer says <samp>no</samp>
The above example demonstrates usage of the
<samp> element represents computer output. It can be used to markup sample output from a computer program.
<samp> element can be used in conjunction with the
The W3C specifies the usage of these two elements as follows:
<kbd>element is nested inside a
<samp>element, it represents the input as it was echoed by the system.
<kbd>element contains a
<samp>element, it represents input based on system output, for example invoking a menu item.
<kbd>element is nested inside another
<kbd>element, it represents an actual key or other single unit of input as appropriate for the input mechanism.