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
such as Courier.
Attributes
Core(id
,
class
, style
, title
),
Internationalization,
Events
width
="
number
"
Deprecated. This optional attribute determines how many characters to fit on a single line within the
pre
block.xml:space
="
preserve
"
XHTML only. Instructs XML processors to preserve the white space in the element.
Get Web Design in a Nutshell, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.