contents.gifindex.gifprev1.gifnext1.gif

pueblo00000000.gif <textarea> element

The Text Area element is similar to <input type=text>, except that this element lets users enter more than one line of text.

Attributes

NAME

Symbolic name used when transferring the field’s contents.

ROWS
COLS

The ROWS and COLS attributes determine the visible dimension of the field in characters. The field is rendered in a fixed-width font.

Examples

The following example defines a form containing a <textarea> field that may be used to enter comments:

<form method=post action="http://www.chaco.com/htbin-post/myscript">

<p>Let me know what you think of my web page!

What is your name: <input type=text size=40 name=Name>

What is your email address: <input type=text size=40 name=EMail>

<textarea name=Comment rows=5 cols=60>

<input type=submit value=" Send my comments ">

</p>

</form>

Also see

<form>

<input>

<option>

<select>