The Pre tag (how to create ASCII art)

Usually in HTML, when you input extra spaces or tabs, returns, etc. they are wiped out by the browser. But if you use the <pre> </pre> tags, anything between these tags are retained/preserved as written. So for example, if I write the following in the pre tag:

<pre>

This is an example of the pre tag.  Let's pretend
	that this is a file that we are creating.	So in this file
I am 	writing all 	of this in the pre tag
--------------------------------------------------------------------------
Everything I write is displayed according to how I write it (I am lot using any

p or
br but just hitting the enter
or return

on the keyboard
If u want to see how it works...try it yourself
</pre>

So let's just say that was the file, this is how it would look on the browser if we uploaded it:

This is an example of the pre tag.  Let's pretend
	that this is a file that we are creating.	So in this file
I am 	writing all 	of this in the pre tag
--------------------------------------------------------------------------
Everything I write is displayed according to how I write it (I am lot using any

p or
br but just hitting the enter
or return

on the keyboard
If u want to see how it works...try it yourself

The pre tag is usually very useful when it comes to creating ASCII art for your web pages. For example, here are some ASCII art below.

	(  )
   Moo	(OO)
	 \/......\
	  ||     | \
	  ||...w||  *
	  ||    ||
OR
	  6666   6666
	 6    6 6    6
	6      6      6
	6             6
	 6           6
	  6         6
	   6       6
	    6     6
	     6   6
	       6
OR
	   ___    ___
	 //   \\//   \\
	||            ||
	\\            //
	 \\          //
	  \\        //
	   \\      //
	    \\    //
	     \\  //
	      \\//

Copyright Brains That Work .
Theme by Pool theme design by Borja Fernandez. ^Top^