Name
<textarea> — NN: 2, 3, 4 - MSIE: 2, 3, 4, 5 - HTML 4 - WebTV - Opera3
Synopsis
<textarea>...</textarea>
Defines a multiline text-entry control. The text that is enclosed
within the <textarea>
tags will be displayed
in the text-entry field when the form initially displays.
-
cols=
number
Specifies the visible width of the text-entry field, measured in number of characters (required). Users may enter text lines that are longer than the provided width, in which case the entry will scroll to the right (or wrap if the browser provides some mechanism for doing so).
-
name=
text
Specifies a name for the parameter to be passed to the form-processing application (required).
-
rows=
number
Specifies the height of the text-entry field in numbers of lines of text (required). If the user enters more lines than are visible, the text field scrolls down to accommodate the extra lines.
-
wrap=off|virtual|physical
Internet Explorer 4.0 and Netscape Navigator 2.0 and higher only. Sets word wrapping within the text area.
off
turns word wrapping off; users must enter their own line returns.virtual
displays the wrap, but the line endings are not transmitted to the server.physical
displays and transmits line endingsto the server.soft
is the same asvirtual
.hard
is the same asphysical
.
Get Web Design in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.