Forms, Elements - Text Area

Use

Text Areas are used when you want extended feed-back from a visitor. Otherwise they are just like Text boxes.

Properties

ATTRIBUTE

REQUIRED?

DESCRIPTION

NAME=" "

Required

The name of the text box.

ROWS=" "

Required

The number of rows of text the text area spans.

COLS=" "

Required

The number of characters the text area spans.

Default Text

Optional

Displays text in the text box area. Note: This option is not standard, see below for an example.

Example

<TEXTAREA NAME="thoughts" ROWS="4" COLS="40"> Please enter your thoughts here&ldots;</TEXTAREA>

 

NOTE

For this example to work it must be inside form tags (<FORM &ldots;> &ldots; </FORM>). The entire form code, including all the examples, is ready for you to use.


  Form Elements