Specifies a multiline text input control.
HTML Syntax
<TEXTAREA ACCESSKEY=key CLASS=classname COLS=n DATAFLD=colname DATASRC=#ID DISABLED ID=value LANG=language LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS NAME=name READONLY ROWS=n STYLE=css1-properties TABINDEX=n TITLE=text WRAP=OFF | HARD | SOFT event = script >
Remarks
The default font is fixed pitch.
The TEXTAREA element is an inline element and requires a closing tag.
This element is available in HTML and script as of Microsoft® Internet Explorer 3.0.
Members
Styles
Example
This example uses the TEXTAREA element to set the cascading style sheets (CSS) overflow attribute to "hidden" to remove the scroll bars from the TEXTAREA.
<TEXTAREA STYLE="overflow:hidden" ID=txtComments> The patient is in stable condition after suffering an attack of the insatiable munchies. </TEXTAREA>
See Also