You are here: Reference > HTML > attributes > spellcheck

spellcheck attribute

Browser support:
Sets whether the automatic spellchecker is enabled.
The internal spellchecker is a great solution in Firefox, Google Chrome and Safari, but useless in most cases, because the user must install different language packs to use it correctly. The browser checks whether the required language pack is installed, and if not, it uses the default. It does not alert the user to install the required language pack, so almost all content will be underlined.
JavaScript page for this attribute: spellcheck. You can find other example(s) there.

Possible values:

Boolean that indicates the state of spellcheck.
The auto-spellcheck is disabled.
Default. The auto-spellcheck is enabled.
Default: true.

Example HTML code 1:

This example illustrates the use of the spellcheck attribute:
<textarea spellcheck="true">Some content in the textarea</textarea>
<textarea spellcheck="false">Some content in the textarea</textarea>
Did you find this example helpful? yes no

Supported by tags:

User Contributed Comments

Post Content

Post Content