Preformatted Text

The <PRE>tag (which stands for "preformatted") will cause the enclosed text to display in a fixed-width font. Spaces, new lines, and tabs will be honoured. This is useful for program listings, or for poetyry, where the positioning of the text is vital. Hypertext references (and other HTML tags) can be used within <PRE> tags.

For example, the following lines in your HTML file:

<PRE>

I think that I shall never see
something as lovely as a tree
</PRE>

will display as:

	I think that I shall never see
	something as lovely as a tree


[Back] Back to Styles and Text Formatting
[Up] Up to the Contents page