TextArea Fields

May 14, 2009, Posted by admin at 11:27 am

Use the TextArea keyword 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 tags).

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.)

t.

No comment yet.

You must be logged in to post a comment.