<TEXTAREA>
The TEXTAREA input control creates a multi-line text box which
allows the user to input as much text data as they like. This is
defined inside of a web form using the FORM element.
Unlike other input controls, this one does not have a VALUE attribute.
Instead, the value is taken from the contents of the element between
the starting and closing tags.
An end tag is required when using this element.
Attributes
Attribute |
Description |
ID |
Identifies this tag to reference in script (program code) |
CLASS |
Define the class used to render this element (defined by a style sheet) |
TITLE |
A title that is associated with the element (displayed as a tooltip in Internet Explorer) |
NAME |
Defines the form name that the value will be associated with when the user
submits the form. |
ROWS |
Defines the total number of rows that this multi-line text edit control should
render as. Doesn't affect the amount of data that can be enetered. |
COLS |
Defines the total number of columns that this multi-line text edit control should
redner as. |
DISABLED |
When present, indicates that this input control is disabled and no user input
is allowed. |
|
Example
<FORM METHOD="post" ACTION="#">
<TEXTAREA NAME="test" ROWS="12" COLS="35"></TEXTAREA>
</FORM>
Renders As:
Compatibility
HTML 4.01
|