HTML » Tags » samp

Version: 2.0, 3.2, 4.0

Compability: Explorer 4, 5  Netscape 4, 6

Syntax:
<samp> ... </samp>

The <samp> tag is designed to place emphasis on a short string of special characters. The designated text is displayed in a teletype or mono space font face. The actual appearance will be determined by the browser.

Usually, the display font appearance for the code, kbd, samp, and tt tags is the same. The listing tag has been deprecated.
 
The closing tag is mandatory.
 

Examples

Code:
<samp>DevGuru</samp>
Output:
DevGuru
Language(s): HTML

See Also: