Menu Home

samp

osbo.com | HTML | Elements | samp

The samp HTML element represents sample or quoted output from another program or computing system.

Syntax

HTML

<samp attribute-name="attribute-value"></samp>

Attributes

Global

CSS

samp {
    font-family: monospace;
}

Examples

CSS

Web Hypertext Application Technology Working Group (WHATWG)