Name
<pre> — NN: 2, 3, 4 • MSIE: 2, 3, 4, 5 • HTML 4 • WebTV • Opera3
Synopsis
<pre>...</pre>
Delimits preformatted text, meaning that lines are displayed exactly
as they are typed in, honoring multiple spaces and line breaks. Text
within <pre>
tags will be displayed in a
monospace font such as Courier.
Attributes
width=
number
This optional attribute determines how many characters to fit on a single line within the
<pre>
block.
Get HTML Pocket Reference 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.