next up previous contents
Next: Hidden Input Up: Forms: Facilitating User Input Previous: Select

Textarea

The TEXTAREA tag is used to create a box where the user may type large amounts of text at will. A typical use for TEXTAREA is to ask users to input general comments they may have about a Web site. In addition to having some special attributes, TEXTAREA is a container, so the close-tag is required.

For example:

<TEXTAREA name="comments" rows=5 cols=65>

</TEXTAREA>

which gives:

You can insert some text into the textarea as a default, it would go between the open and close tags.

For Example:

<TEXTAREA name="comments" rows=5 cols=65>
Please type here...

</TEXTAREA>

which gives:



dave@cs.cf.ac.uk