HTML and CSS Reference
In-Depth Information
Name
textarea
Synopsis
<textarea> . . . </textarea>
Defines a multiline text entry control. The content of the textarea element is displayed in the
text entry field when the form initially displays and will be sent to the server. It is common for
developers to put nothing in the textarea element and use the placeholder or title attrib-
utes to provide a hint of what to write instead.
Usage
Categories:
Flow content, phrasing content, interactive content, palpable content, and “listed, labe-
lable, submittable and resettable form-associated element”
Permitted contexts:
Where phrasing content is expected
Permitted content:
Text
Start/end tags:
Required/Required
Attributes
HTML5 Global Attributes
autocomplete="on|off"
Not in HTML 4.01 . Allows the user agent (browser) to fill in a field automatically ( on ) or
requires the user to enter the information every time ( off ). Omitting this attribute causes
the control to inherit the autocomplete setting for the associated form element.
Search WWH ::




Custom Search