Text Areas
Text areas are very similar to text fields. The difference is that text area values can span multiple lines. Text areas might be used for such things as addresses or comments. Using raw HTML, you can create a text area using the <TEXTAREA> tag as shown here:
<TEXTAREA NAME="Address" ROWS=6 COLS=32>Your address</TEXTAREA>
Using CGI::Form, this is a call to the method textarea, as shown here:
$q->textarea( -name=>'Address', -default=>'Your address', -rows=>6, -cols=>32);
-rows specifies the number of rows to display to the user. -cols specifies the number of columns to display to the user. The user is not constrained to the values of -rows and -cols for his/her entry. If the user needs extra space to enter more text, he/she can use the scrollbars provided with this form field.