top left
The HTML Source Logo


 html
Top Right
    
 Getting StartedHow Do I...TroubleShootingPromotionContact Us
 html
HTML
SEARCH THE SITE
advanced search



CATEGORIES
Home
Getting Started
HTML Cheat Sheet
Webmaster Tools
HTML Help Forum
Color Codes
Link to us









































bottom
HTML HTML HTML HTML
How Do I Create A Text Area?


A text area allows you to place a large amount of information into a small area.

How to do it

To create a text area, just insert the following code where you would like your text area to appear:

<FORM><textarea rows="?" cols="?">Put your text here</textarea></FORM>

Next, replace the ?'s in the code to how many rows and cols (columns) you want to be in your text area.

Basically rows is your text area's height, and cols is the text areas width.
Finally, replace Put your text here with the text you want in your text area.

Note:  Instead of using actual numbers for your rows and columns, you can give percentages. For example if you use 75% for your cols, then the text area will span 75% across the page...

Example

<FORM><textarea rows="5" cols="20">Text Goes Here... Text Goes Here... Text Goes Here... Text Goes Here... Text Goes Here... Text Goes Here... Text Goes Here... Text Goes Here... Text Goes Here...</textarea></FORM>

<FORM><textarea rows="10%" cols="100%">Text Goes Here... Text Goes Here... Text Goes Here... Text Goes Here... Text Goes Here... Text Goes Here... Text Goes Here... Text Goes Here... Text Goes Here...</textarea></FORM>





< BACK







Company   |   Careers   |   Partners   |   Advertising   |   Help
Privacy Policy   |   Trademark Notices   |   User Agreement
© 2001 TheHTMlSource.com, INC. All Rights Reserved.



Site hosted by Angelfire.com: Build your free website today!