Name
<textarea>
Synopsis
<textarea>
...
</textarea>
Description
Define a multiline text input area within a <form>
;
content of the <textarea>
tag is the initial, default value.
Attributes
-
accesskey
=char Define the hot-key character for this element.
-
cols
=n Display n columns of text within the text area.
-
disabled
Disable this control, making it inactive.
-
name
=string Define the name for the text-area value that is passed to the form-processing application (required).
-
onblur
=applet Specify an applet to be run when the mouse leaves this element.
-
onchange
=applet Specify an applet to be run if a user changes the value of this element.
-
onfocus
=applet Specify an applet to be run when the mouse enters this element.
-
onselect
=applet Specify an applet to be run if the user clicks this element.
-
readonly
Prevent user modification of this element.
-
rows
=n Display n rows of text within the text area.
-
tabindex
=n Specify this element’s position in the tabbing order.
-
wrap
=style Set word wrapping within the text area to
off
,virtual
(display wrap, but do not transmit to server), orphysical
(display and transmit wrap).
See Chapter 6 for more information on forms.
Get Webmaster in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.