Menu

Downloads

Links



Textareas



How do I make a textarea?

For some of you, an even simpler question might be "What IS a textarea?" That's easy enough to answer. You know those little scrollboxes that I've been putting the codes in throughout the site? That's a textarea! On this page, you'll learn how to create them, and how to add different elements to them. You'll also learn about div layers.


Making a Textarea
Take a look at the textareas below, and the code for how to create each. In the code, "rows" refers to the height of the textarea, and "cols" refers to how wide it is.

Basic Textarea
<textarea rows=3 cols=25> CONTENT </textarea>


Colored Textarea
<textarea ROWS=5 COLS=28 style="background:ffffff" style="font-family:verdana" style="color:000000" style="border style:solid"> CONTENT </textarea>


Colored Textarea #2
<form ACTION=URI> <textarea rows="5" cols="28" style="background-color:#ffffff; font-family:verdana; color:#849AA4; border-style:dashed"> CONTENT </textarea> </form>


Textarea with Image Background
<form ACTION=URI> <textarea rows="5" cols="20" style="background-image:url(IMAGE.gif)"> CONTENT </textarea>


Textarea allowing HTML
<ilayer name="scroll1"> <div id="scroll3" style="width:250;height:75; background-color:ffffff; overflow:auto"> CONTENT </textarea></div>
With this textarea, you can use font and image codes, just like you would on a webpage.
Here is an example, I've used a font color here, and used a font face code here, and with this text, I've used an underline code.