HTML: The Markup Language (an HTML language reference)

samp(sample) output # T

The samp element represents (sample) output from a program or computing system.

Permitted contents #

Permitted attributes #

global attributes
Any attributes permitted globally.

Tag omission #

A samp element must have both a start tag and an end tag.

Permitted parent elements #

any element that can contain phrasing elements

DOM interface #

Uses HTMLElement.

Typical default display properties #

samp {
font-family: monospace; }