Fandom

HTML & CSS Wiki

Samp

649pages on
this wiki
Add New Page
Comments0 Share


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

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.