This page is Not Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.


Property of dom/HTMLElementdom/HTMLElement


var result = element.spellcheck;
element.spellcheck = value;



Spellcheck is only enabled by default for textArea elements, and elements with the contentEditable = true attribute for Internet Explorer 10. Spellcheck is off by default for input type=text.

You can enable spellchecking by adding the spellcheck=true attribute to the root or ancestor markup of the content (including the <html> element), with no other special flags needed.

There is also a default state (missing attribute) which uses the element’s default behavior, such as inheriting from the parent element’s spellcheck state.


See also

Related pages