It is used to represent the output offered by a computer program.
If you need an element to serve as a container for the output generated by your own site, use <output> instead of <samp>.
It can be combined with <kbd> in the ways discussed in the previous entry.
Normally browsers render them using their default monospaced font, although you can customize the style using CSS.
- Type: inline
- Self-closing: No
- Semantic value: No
Top comments (0)