Name
<textarea> — NN 2, 3, 4, 6 MSIE 2,3, 4, 5.5, 6 HTML 4.01 WebTV Opera5
Synopsis
<textarea>...</textarea>
Defines a multiline text-entry control. The text that is enclosed
within the <textarea> tags is displayed in
the text-entry field when the form initially displays.
-
cols=number Required. Specifies the visible width of the text-entry field, measured in number of characters. Users may enter text lines that are longer than the provided width, in which case the entry scrolls to the right (or wraps if the browser provides some mechanism for doing so).
-
name=text Required. Specifies a name for the text input control. This name will be sent along with the control content to the form-processing application.
-
rows=number Required. Specifies the height of the text-entry field in number of lines of text. If the user enters more lines than are visible, the text field scrolls down to accommodate the extra lines.
-
wrap=off|virtual|physical Nonstandard. Sets word wrapping within the text area.
offturns word wrapping off; users must enter their own line returns.virtualdisplays the wrap, but the line endings are not transmitted to the server.physicaldisplays and transmits line endings to the server. Some browsers support the proprietary valuesoftas equivalent tovirtual, andhardas equivalent tophysical.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access