Skip to main content

<TEXTAREA>

TEXTAREA Tag

Synopsis


<TEXTAREA>...</TEXTAREA>

Attributes

CSPBind Attributes

Attribute Description Value
CSPBIND The name of the object property to be bound. A string.
CSPCAPTION Name to use for property in error messages. A string.
CSPNOTRIM If present, do not blank trim object values. No value: enabled if attribute is present.
CSPREQUIRED If present, indicates that a value must be supplied. No value: enabled if attribute is present.
CSPVALID Client-side JavaScript code to run to validate the element's contents. A string.
DELIMITER Delimiter to use between elements of a list. A string.

Core Attributes

Attribute Description Value
CLASS Space-separated list of classes. A string.
ID Unique identifier. A string.
STYLE Associated style info. A string.
TITLE Advisory title. A string.

Event Attributes

Attribute Description Value
ONBLUR The element lost the focus JavaScript code.
ONCHANGE The element value was changed JavaScript code.
ONCLICK A pointer button was clicked. JavaScript code.
ONDBLCLICK A pointer button was double clicked. JavaScript code.
ONFOCUS The element got the focus JavaScript code.
ONKEYDOWN A key was pressed down. JavaScript code.
ONKEYPRESS A key was pressed and released. JavaScript code.
ONKEYUP A key was released. JavaScript code.
ONMOUSEDOWN A pointer button was pressed down. JavaScript code.
ONMOUSEMOVE A pointer was moved within. JavaScript code.
ONMOUSEOUT A pointer was moved away. JavaScript code.
ONMOUSEOVER A pointer was moved onto. JavaScript code.
ONMOUSEUP A pointer button was released. JavaScript code.
ONSELECT Some text was selected JavaScript code.

General Attributes

Attribute Description Value
COLS Number of columns A numeric value.
DISABLED Unavailable in this context No value: enabled if attribute is present.
NAME Submit as part of form A string.
READONLY For text and passwd No value: enabled if attribute is present.
ROWS Number of rows A numeric value.

Lang Attributes

Attribute Description Value
DIR Direction for weak/neutral text. “ltr”, or “rtl”.
LANG Language code. A string.

Other Attributes

Attribute Description Value
ACCESSKEY Accessibility key character A string.
TABINDEX Position in tabbing order A numeric value.

Description

TEXTAREA Tag

FeedbackOpens in a new tab