Creating a Text Area
The next section of the survey form allows customers to type in recommendations or comments about your website. Because this would take more space then a text box, the text area property allows more space to enter long strings of text. The tag used for this property is the <TEXTAREA> tag. The syntax of the <TEXTAREA> tag is:
<TEXTAREA ROWS=value COLS=value NAME=text>Default text</TEXTAREA>
where the ROWS and COLS properties define the number of rows and columns in the text box, and Default text is the text that appears in the text box when the form opens. Although it is not required, you could use default text to provide additional instructions to the user about what to enter in the text box.
The text you enter into a text box does not automatically wrap to the next row in the box. Instead, a text box acts like an input box in which the text is automatically scrolled to the left as additional text is typed. You can override this default behavior using the WRAP property. There are three values for the WRAP property.
<TR>
<TD VALIGN=TOP>Please give us suggestions or comments on how to improve our website below:</TD>
<TD>
<TEXTAREA ROWS=3 COLS=50 NAME=Description WRAP=VIRTUAL></TEXTAREA>
</TD>
</TR>
Save your changes and view it in you Web browser. Notice that the form is again stretched out. Place page breaks (<BR>) to return the form to its original format. Resave your file and reload it in your Web browser. Continue adding page breaks until you get the right look.