Summary
This element represents preformatted text. Text within this element is typically displayed in a non-proportional font exactly as it is laid out in the file. Whitespaces inside this element are displayed as typed.
Attributes
Like all other HTML elements, this element has the global attributes.
Examples
<!-- Some example CSS code -->
<pre>
body {
color:red;
}
</pre>
Result
body {
color:red;
}
See also
- CSS:
white-space,word-break


Mozilla Developer Network