Preformatted Type

A browser normally formats the text in an HTML file ignoring any extra spaces, tabs or line returs you add to the file. The <PRE> tag, formats the text based on the way you type it. It retains all the space, tabs and returns in the HTML file so it looks exactly the same when viewed with abrowser. The one catch: THE TEXT APPEARS IN MONOSPACED TYPE LIKE COURIER!

This is an example of preformatted text

Units sold
------------------------------------------------------------
		April	May	June	July	August
Pencils		300	1000	300	200	100
Pads		400	2000	300	100	200
Erasers		500	4000	200	200	100
Paper clips	600	3000	100	100	300

Back to Table of Contents