Click to return to the DHTML, HTML     
TD Element | TD Object     TextNode Object     DHTML Objects    
Web Workshop  |  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!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.