The <textarea> input element of a <form> is a
multi-line area into which you can type.
name
Specifies the name of the field, so the handling script can associate the
field name and its value.
rows, cols
Specify the size, expressed in character cells, of the visible portion of
the text area. This is not a logical size, but just an
apparent size--text will automatically scroll out of and back into
the visible area as the cursor moves.
wrap
Specifies if and how word-wrapping should take place. There are three
possible values:
wrap=off: Long lines are not wrapped in the textarea, nor are
they wrapped in the data sent to the processing script.
wrap=soft or wrap=virtual: Long lines are wrapped in
the textarea, but are not wrapped in the data sent to the processing
script.
wrap=hard or wrap=physical: Long lines are wrapped
in the textarea, as well as in the data sent to the processing script.
Hard returns--those typed in by the user--are retained in all cases.
This markup:
. . .causes these results (replace the default text in the textarea
fields below with some long lines of text to see the differences between the
various wrap values):