Skip to Content
Dynamic HTML: The Definitive Reference
book

Dynamic HTML: The Definitive Reference

by Danny Goodman
July 1998
Intermediate to advanced
1456 pages
65h 5m
English
O'Reilly Media, Inc.
Content preview from Dynamic HTML: The Definitive Reference

Name

<TEXTAREA> — NN all IE all HTML all

Synopsis

<TEXTAREA>...</TEXTAREA>

End Tag: Required

The TEXTAREA element is a multiline text input control primarily for usage inside FORM elements (required in Navigator). Unlike the text type INPUT element, a TEXTAREA element can be sized to accept more than one line of text. Word-wrapping is available on more recent browsers, and users may enter carriage return characters (a combination of characters ASCII decimal 13 and 10) inside the text box. When a TEXTAREA element is inside a submitted form, the name/value pair is submitted, with the value being the content of the text box (and the NAME attribute must be assigned). The CGI program on the server must be able to handle the possibility of carriage returns in the text data.

If you wish to display text in the TEXTAREA element when it loads, that text goes between the start and end tags; otherwise, there are no intervening characters in the source code between start and end tags. A label for the TEXTAREA element must be placed before or after the element, and may, optionally in newer browsers, be encased in a LABEL element for structural purposes.

Example

<TEXTAREA ROWS=5 COLS=60 NAME="notes">Use this area for extra notes.
</TEXTAREA>

Object Model Reference

NN

[window.]document.formName.elementName

[window.]document.forms[i].elements[i]

IE

[window.]document.formName.elementName

[window.]document.forms[i].elements[i]

[window.]document.all.elementID

Attributes

ACCESSKEY

DATAFLD

ID

READONLY ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Dynamic HTML: The Definitive Reference, 3rd Edition

Dynamic HTML: The Definitive Reference, 3rd Edition

Danny Goodman

Publisher Resources

ISBN: 1565924940Catalog PageErrata