HTML spellcheck Attribute
- Previous Page popover
- Next Page style
- Go to Parent Level HTML Global Attributes
Definition and Usage
spellcheck
Attribute specifies whether to perform spelling and grammar check for elements.
You can perform spelling check for the following content:
- Text value in input elements (non-password)
- Text in <textarea> elements
- Text in Editable Elements
See Also:
HTML Tutorial:HTML attributes
HTML Reference Manual:HTML contenteditable attribute
Example
Editable Paragraph for Spelling Check:
<p contenteditable="true" spellcheck="true">This is a paragraph.</p>
Syntax
<element spellcheck="true|false">
Attribute Value
Value | Description |
---|---|
true | Perform spelling and grammar check on the element. |
false | Do not check the element. |
Browser Support
The numbers in the table indicate the first browser version that fully supports this attribute.
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
9.0 | 10.0 | 2.0 | 5.1 | 10.5 |
- Previous Page popover
- Next Page style
- Go to Parent Level HTML Global Attributes