Home → References → HTML Tags →
HTML Tag: textarea
A multi-row text area form element. The initial value of the text area can be placed in between the opening and closing tags.
HTML Dog is hosted by Titan Internet
Required Attributes
rowsis used to define the number of viewable rows.colsis used to specify the number of viewable columns.
Optional Attributes
namecan be used so that the value of the element can be processed.disabledcan be used to disable the element. It must be used in the formatdisabled="disabled".readonlycan be used to specify that the value of the element can not be changed. It must be used in the formatreadonly="readonly".accesskeycan be used to associate a keyboard shortcut to the element.tabindexcan be used to specify where the element appears in the tab order of the page.- Common attributes
Example
<form action="somescript.php" />
<p>Your address</p>
<div><textarea name="address"cols="30" rows="4"></textarea></div>
<div><input type="submit" /></div>
</form>

