|
|
HTML <pre> tag
Syntax
<pre> - </pre>
Definition and Usage
The PRE element Renders text in a fixed-width font, should not
collapse whitespace, and should not wrap long lines.
Optional Attributes
| Attribute |
Value |
Description |
| width |
number |
Defines the maximum number of characters per line
(usually 40, 80, or 132) |
Standard Attributes
| id, class, title, style, dir, lang, xml:lang, xml:space |
For a full description, go to Standard
Attributes.
Event Attributes
| onclick, ondblclick, onmousedown, onmouseup, onmouseover,
onmousemove, onmouseout, onkeypress, onkeydown, onkeyup |
For a full description, go to Event Attributes.
Example
| Source |
Output |
<PRE>
While this process can be performed on any portfolio...
</PRE>
|
While this process can be performed on any portfolio...
|
|
|