The HTMLAREA element is similar to the TEXTAREA
element (a multi-line editing control), but it also allows for nested HTML
markup. The default HTMLAREA behavior allows the user to add, modify, and
resize content and objects within it. When submitted as part of a form, the
content and any HTML markup embedded within the HTMLAREA is passed to the
form processing script.
Description:
This is a method of giving access/focus to an active HTML element using
a keyboard character. This is a common GUI paradigm also known
as a "keyboard shortcut" or "keyboard accelerator"
A single character is used as the value of this attribute. In addition,
a platform-dependent key is usually used in combination with the
ACCESSKEY character to access the functionality of the active field.
Values:
A single, case-insensitive alphanumeric character from a browser's
character set.
Cols
2 | 3
| 3.2 | 4
| IE5 | M
| N | O
Required? Yes
Description:
This attribute indicates the visible number of columns in the Htmlarea
field.
Values: Positive integers
Disabled
2 | 3
| 3.2 | 4
| IE5 | M
| N | O
Required? No
Description:
This is a stand-alone attribute which indicates the element is
initially non-functional.
Values: NA
Name
2 | 3
| 3.2 | 4
| IE5 | M
| N | O
Required? Yes
Description:
This is a required attribute that associates a symbolic name to the
field for submittal to the form processing script.
Values: Alphanumeric characters
Readonly
2 | 3
| 3.2 | 4
| IE5 | M
| N | O
Required? No
Description:
This is a stand-alone attribute which tells the browser that
content in the field may not be modified by the reader.
Values: NA
Rows
2 | 3
| 3.2 | 4
| IE5 | M
| N | O
Required? Yes
Description:
This attribute indicates the visible number of rows in the Htmlarea
field.
Values: Positive integers
Tabindex
2 | 3
| 3.2 | 4
| IE5 | M
| N | O
Required? No
Description:
"Tabbing" is a method of giving access/focus to an active HTML
element using a standard keyboard sequence. All the active elements in a
document can be cycled through using this sequence (ex: Windows TAB key.)
The order of the active elements in this cycle is usually the order they
occur in the document, but the TABINDEX attribute allows a different order
to be established. The use of this attribute should create the following
tabbing order cycle if the browser supports the attribute:
Active elements using the TABINDEX attribute with positive integers are
navigated first. Low values are navigated first.
Active elements not specifying any TABINDEX attribute
Those elements carrying a DISABLED attribute or using negative TABINDEX
values do not participate in the tabbing cycle.
Values: Positive or negative integers.
Wrap
2
| 3 | 3.2
| 4 | IE5
| M | N
| O
Required? No
Description:
This attribute indicates word-wrapping rules inside the Htmlarea field
box.
Values: Soft [DEFAULT] -
Text is displayed with wordwrapping enabled, but returns and line feeds are
stripped upon submittal. Hard - Display and submittal both maintain
returns and line feeds. Off - Word-wrapping is disabled.
Lines appear exactly as entered.
DTD Note: The Internet Explorer online reference lists the
content model for this element as "All HTML elements" - I have chosen
to treat the content model as if it were a block level element until I see proof
that it can really accept ALL HTML elements as content.