[an error occurred while processing this directive]

TextArea Fields

Use the TextArea to create fields for entering large amounts of text. Not all browsers allow you to define an initial value for the text area (by placing text between the <TEXTAREA> and </TEXTAREA> tags).

If you are using Lynx to create and test your HTML code, read this!


Comments And Feedback Welcome

I found out about this page...

E-mail Address:


<br><TEXTAREA NAME="feedback" ROWS=20 COLS=60></TEXTAREA>
<br>I found out about this page...
<br><TEXTAREA NAME="heard" ROWS=2 COLS=60></TEXTAREA>
<br>Email address:
<br><TEXTAREA NAME="username" ROWS=1 COLS=20></TEXTAREA> 

TEXTAREA signals the browser to produce a potentially multi-line field, and the ROWS and COLS tags tell it how many lines long and how wide the field should be. Note that NAME is still required at the beginning of every input field, to signal what variable the input will be stored and returned in to the browser.

These tags don't limit the length of a line someone can enter, or how many lines of text they can enter. They simply describe the appearance of the form. (Except as noted above for Lynx users.)

Next lesson: Checkboxes

Index of tutorial topics

[an error occurred while processing this directive]