TEXTAREA

 [Local Convention]
Used only in forms, the TEXTAREA element is used to allow a user to enter more than one line of text in a FORM.

Example

<TEXTAREA NAME="address" ROWS=64 COLS=6>
Hewlett Packard Laboratories
1501 Page Mill Road
Palo Alto, California 94304-1126
</TEXTAREA>

The text up to the end tag is used to initialize the field's value. This end tag is always required even if the field is initially blank.

Explanatory Note: TEXTAREA and INPUT/TEXT

In the initial design for forms, multi-line text fields were supported by the INPUT element with TYPE=TEXT . Unfortunately, this causes problems for fields with long text values as SGML limits the length of attribute literals. The HTML 2.0 DTD allows for up to 1024 characters (the SGML default is only 240 characters!).


Content


ATTRIBUTES
CONTENT DECLARATION

Tag Minimization
Open Tag: REQUIRED
Close Tag: REQUIRED

Parent Elements


Top Elements
All Elements
Tree


htmlx DTD