The samp tag

The samp tag is used to display text that is the output of a computer program or script.

Example

Let's see how the samp tag works:

htmlResult of the script: <samp>123</samp>.

Результат:

See also

  • tag code,
    in which it is customary to enclose program code
  • tag var,
    in which it is customary to enclose variable names