DEV Community

Cover image for HTML tags | samp
Carlos Espada
Carlos Espada

Posted on • Edited on

HTML tags | samp

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

Definition and example | Support

Top comments (0)