Make your own free website on Tripod.com

Back Main GuestBook Contact Music (JS) Appendix

<PRE></PRE> - Preformatted Text

This tag is used to display all the spacing exactly as it appears in the source code. Tabs, spaces, line feeds, etc., will all show up. (HTML tags will not.) However, the font will be monospaced.

You must type the closing tag, </PRE> at the end of the text you want preformatted.

Note: You may not put <IMG>, <OBJECT>, <BIG>, <SMALL>, <SUB>, or <SUP> within the <PRE> tags.

Attributes for <PRE>

  %coreattrs %il8n %events

D width= [CI]
Specifies number of characters.
This attribute restricts the width of the preformatted text box. The value is given in characters, so width=10 would cause all lines over 10 characters to wrap. This attribute is not widely supported.

Here is an example of preformatted text:

You can use <PRE> to make ASCII art--

	           __
	           ||\_
	          /||  \_
	         / ||    \_
	        /  ||      \_
	       /   ||        \_
	      /    ||          \_
	     /_____||____________\
	  _________||_____________________
	  \                              / \
	   \                            /|  |
	~~~~\~~~~~~~~~~~~~~~~~~~~~~~~~~/~~~~

---------------------------------
| You     in         However,   |
| can     columns    I          |
| write   without    recommend  |
| words   tables.    tables.    |
---------------------------------

Tables
	do
		a
			better
				job
					of
				organizing
			your
		info.

Be careful with this tag.     Some browsers may not wrap text (like MSIE)
                              while others do (like Netscape 4.x).