pre

The pre represents a block of preformatted text, in which structure is represented by typographic conventions rather than by elements.

Attributes

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

Global

CSS

pre {
  display: block;
  font-family: monospace;
  margin: 1em 0;
  white-space: pre;
}

Example | CSS

External

W3C HTML 4.01 Specification

W3C HTML5

W3C HTML 5.1