FANDOM



The HTML element, or sample, produces an inline element displayed in the browser's default monotype font (Lucida Console). This element was intended to identify sample output from a computer program. The CSS font-family property can be used to change the font face of this element.

Attributes

Global Attributes

See Global HTML Attributes.


Example:

<samp>Sample text.</samp>


See Also

External Links