HTML spellcheck Attribute
Example
An editable paragraph with spell checking:
This is an editable paragraph. Try editing the text.
Try it »
Browser support





Internet Explorer 10, Firefox, Opera, Chrome, and Safari browsers support the spellcheck attribute.
Note: Internet Explorer 9 and earlier IE versions do not support the spellcheck attribute.
Definition and Usage
The spellcheck attribute specifies whether the element's content should be spell-checked.
The following text can be spell-checked:
- Values in input elements of type text (not passwords)
- Values in textarea elements
- Values in editable elements
Differences between HTML 4.01 and HTML5
The spellcheck attribute is new in HTML5.
Syntax
<
element
spellcheck="true|false">
HTML Global Attributes