Illustration of Pre-formatted text
This text has been pre-formatted with line returns
and with tabs, to create the following:
equal spacing
indentation
line returns
These tags can be used to create simple
tables of numbers and text as follows:
Breakfast Lunch Dinner
Bill: $8.95 $9.99 $16.89
Fred: $7.75 $8.50 $25.99
This text will be displayed with equal spacing
for letters: abcdefghijklmnopqrstuvwxyzABCDEFG
and numbers: 012345678901234567890123456789012
Notice that formatting is preserved with PRE, unlike
the next example with TT.
This text will be displayed with equal spacing
for letters: abcdefghijklmnopqrstuvwxyzABCDEFG
and numbers: 012345678901234567890123456789012
However, notice that formatting is not preserved.
(compare the appearance in browser and text editor).
This text will be displayed in bold type.
This text will be displayed with Italics.
This text will be displayed with Underlining.
This will be underlined, and displayed in bold,
and the entire sentence in italics.
Try resizing the window, and watch the effect on the preformatted
text above, and also the non-preformatted text.
Return to Index of Examples