HTML <textarea> autocapitalize Attribute
Example
<form action="action.php">
<textarea autocapitalize="words" name="textareaText">Hello world!</textarea>
<input type="submit" value="Submit">
</form>
Meaning
The autocapitalize attribute is a non-standard attribute supported by WebKit on iOS (therefore nearly all browsers running on iOS, including Safari, Firefox, and Chrome), which controls whether and how the text value should be automatically capitalized as it is entered/edited by the user. The non-deprecated values are available in iOS 5 and later.
Standard Syntax
<textarea autocapitalize="value">...</textarea>
Advertisement
Attribute Values
| Value | Description |
|---|---|
| none | Specifies completely disables automatic capitalization. |
| sentences | Specifies automatically capitalize the first letter of sentences. |
| words | Specifies automatically capitalize the first letter of words. |
| characters | Specifies automatically capitalize all characters. |
| on | Deprecated since iOS 5. |
| off | Deprecated since iOS 5 |