HTML <textarea> spellcheck Attribute
Example
<form action="action.php">
<textarea spellcheck="true" name="textareaText">Hello world!</textarea>
<input type="submit" value="Submit">
</form>
Meaning
The spellcheck Specifies whether the <textarea> is subject to spell checking by the underlying browser/OS.
Standard Syntax
<textarea spellcheck="default|false|true">...</textarea>
Advertisement
Attribute Values
| Value | Description |
|---|---|
| default | Specifies that the element is to act according to a default behavior, possibly based on the parent element's own spellcheck value. |
| false | Specifies that the element should not be spell checked. |
| true | Specifies that the element needs to have its spelling and grammar checked. |