This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
Forces a spelling and grammar check on HTML elements, even if the user has not focused on the elements. This method overrides user agent behavior. The user interface of the check, for example whether red underlining appears, is determined by the user agent.
Syntax
element.forceSpellCheck()
Specifications
Specification | Status | Comment |
---|---|---|
HTML Living Standard The definition of 'HTMLElement.forceSpellCheck()' in that specification. |
Living Standard | Initial definition |
HTML 5.1 The definition of 'HTMLElement.forceSpellCheck' in that specification. |
Recommendation | First W3C snapshot of HTML Living Standard with the method defined in it. |
Browser compatibility
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Basic support | ? | No support | No support | ? | ? |
Feature | Android | Firefox Mobile (Gecko) | IE Phone | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|
Basic support | ? | No support | No support | ? | ? |