TEXTAREA Element | TEXTAREA Object

DHTML, HTML, & CSS

TEXTAREA Element | TEXTAREA Object


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

INPUT


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? write us!Internet Link

© 1999 microsoft corporation. all rights reserved. terms of useInternet Link.