html:textarea

html:textarea — A textarea element in an HTML form.

Synopsis

html:textarea ::=

  • text

Attributes

Attributes:

  • accesskey
  • cols
  • disabled (enumeration)
    • “disabled”
  • name
  • onblur
  • onchange
  • onfocus
  • onselect
  • readonly (enumeration)
    • “readonly”
  • rows
  • tabindex

Required attributes are shown in bold.

Description

An HTML form “textarea”.

Processing expectations

Formatted as a displayed block.

Attributes

None.

accesskey

Specifies the access key for the element

class

This attribute assigns a class name or set of class names to an element. Any number of elements may be assigned the same class name or names. Multiple class names must be separated by white space characters.

cols

Specifies the number of columns in the text area

disabled

Indicates a control is unavailable

Enumerated values:
“disabled”

The element is disabled

lang

This attribute specifies the base language of an element's attribute values and text content. The default value of this attribute is unknown.

name

Specifies the name of the parameter associated with a control

onblur

Script to evaluate when a control loses focus

onchange

Script to evaluate when a control loses focus and its value has changed

onclick

Occurs when the pointing device button is clicked over an element.

ondblclick

Occurs when the pointing device button is double clicked over an element.

onfocus

Script to evaluate when a control receives focus

onkeydown

Occurs when a key is pressed down over an element.

onkeypress

Occurs when a key is pressed and released over an element.

onkeyup

Occurs when a key is released over an element.

onmousedown

Occurs when the pointing device button is pressed over an element.

onmousemove

Occurs when the pointing device is moved while it is over an element.

onmouseout

Occurs when the pointing device is moved away from an element.

onmouseover

Occurs when the pointing device is moved onto an element.

onmouseup

Occurs when the pointing device button is released over an element.

onselect

Script to evaluate when a user selects some text

readonly

Indicates that a control cannot be changed

Enumerated values:
“readonly”

The element is read only

rows

Specifies the number of rows in the text area

style

This attribute specifies style information for the current element.

tabindex

Specifies the position of the element in tabbing order

title

This attribute offers advisory information about the element for which it is set.

Parents

These elements contain html:textarea: caption (db.html.caption), citetitle, emphasis, entry, html:button, html:fieldset, html:form, html:label, html:legend, link (db.link), literallayout, para, phrase (db.phrase), programlisting, quote, rddl:resource, subtitle, summary, td, term, th, title, titleabbrev.