A very useful type of input is

`<TEXTAREA>`.

    <FORM>
    <TEXTAREA NAME="COMMENTS">
    </TEXTAREA>
    </FORM>

You control the size of the box like so...

    <FORM>
    <TEXTAREA NAME="COMMENTS" ROWS=6 COLS=50>
    </TEXTAREA>
    </FORM>

`ROWS` is the height, `COLS` is the width.

\\|// (@ @) +--------------------oOO----(_)----OOo-----------------------+ | | | This is to illustrate that if you type something between | | the TEXTAREA tags, it will show up in the window as the | | default text. The cool part is... it shows up EXACTLY | | the way you type it! | | | | * Most, but not all, browsers behave this way. | +------------------------------------------------------------+ |__|__| || || ooO Ooo

Html code for this textarea here.

A good attribute to include in `<TEXTAREA>` is `WRAP`. Some browsers do not understand it, but if that's the case, they will just ignore it.

    <FORM>
    <TEXTAREA NAME="COMMENTS" ROWS=3 COLS=30 WRAP="soft">
    </TEXTAREA>
    </FORM>

`WRAP="soft"` means that the text in the box wraps, but it is sent as one long continuous string.

    <FORM>
    <TEXTAREA NAME="COMMENTS" ROWS=3 COLS=30 WRAP="hard">
    </TEXTAREA>
    </FORM>

`WRAP="hard"` means that the text in the box wraps, and it is sent that way too.

    <FORM>
    <TEXTAREA NAME="COMMENTS" ROWS=3 COLS=30 WRAP="off">
    </TEXTAREA>
    </FORM>

This is normally the default.
`WRAP="off"` means that the text in the box does not wrap, although it is sent exactly the way it was typed in.

<< BACK NEXT >>