The <PRE> tag is used to display pre-formatted text without losing the original layout.
Syntax and Usage
<PRE>...text...</PRE>
To keep the formatting of text exactly as it is typed, simply enclose the text in <PRE> and </PRE> tags. This displays all spaces and carriage returns (line breaks) exactly as they appear between the tags.
Known Issues
None.
Example
Shall I part my hair behind? Do I
dare to eat a peach?
I shall wear white flannel trousers,
and walk upon the beach.
- TS Eliot, 'The Love Song of J Alfred Prufrock'
Further Information