HTML and CSS Reference
In-Depth Information
Name
pre
Synopsis
<pre> . . . </pre>
Delimits “preformatted” text, meaning that lines are displayed exactly as they are typed in,
honoring whitespace such as multiple character spaces and line breaks. By default, text within
a pre element is displayed in a monospace font so that spacing and alignment is preserved.
Usage
Categories:
Flow content, palpable content
Permitted contexts:
Where flow content is expected
Permitted content:
Phrasing content
Start/end tags:
Required/Required
Attributes
HTML5 Global Attributes
xml:space="preserve"
XHTML only . Instructs XML processors to preserve the whitespace in the element.
Search WWH ::




Custom Search