TEXTAREA HTML Element

Send Feedback

The TEXTAREA element specifies a multiline text input control. This is an inline element and requires a closing tag.

Attributes

Attribute Value Description
ACCESSKEY 0...9, #, * Gives access or focus to an active HTML element by using a keypad number.
Note   For Pocket PCs, supported only for devices running Windows Mobile 2003 software or later.
CLASS   Associates the element with a CSS style.
Note   Supported only for devices running Windows Mobile 2003 software or later.
COLS 0...#

50 (default)

Specifies the number of columns for the text input control that is used to determine its width.
ID   Uniquely identifies the element within a document.
Note   Supported only for devices running Windows Mobile 2003 software or later.
NAME String Specifies the text input control name that is submitted with its contents.
ONBLUR   Event that occurs when the text input control loses focus by the pointing device or by tabbing navigation.
Note   Supported only for devices running PocketPC 2002 and Smartphone 2002 software or later.
ONCHANGE   Event that occurs when the text input control loses the input focus and its value has been modified since gaining focus.
Note   Supported only for devices running PocketPC 2002 and Smartphone 2002 software or later.
ONFOCUS   Event that occurs when the text input control receives focus by a pointing device or by tabbing navigation.
Note   Supported only for devices running PocketPC 2002 and Smartphone 2002 software or later.
ROWS 0...#

5 (default)

Specifies the number of rows in the text input control that is used to determine its height.
STYLE   Provides the definition of the CSS styles used for this element.
Note   Supported only for devices running Windows Mobile 2003 software or later.
TABINDEX   Sets the order in which elements are tabbed to.
Note   Supported only for devices running Windows Mobile 2003 software or later.

Requirements

Pocket PC: Pocket PC 2000 and later
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later

See Also

Internet Explorer Mobile HTML Elements

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.