How to disable spellcheck in textarea

It is a good idea to disable spell check in textarea element if it is not meant for pure english text. To disable spell check in textarea atrribute spellcheck=”false” can be used. Here is how textarea wrongly spelled words look like (when focussed) when spellcheck=”true” is used.

textarea-wrong-spelling-true-example

textarea with spellcheck true example

<textarea withspellcheck="true" rows="4" cols="50" autofocus>
Wrooong spelling
</textarea>
refresh

textarea with spellcheck false example

<textarea spellcheck="false"  rows="4" cols="50">
Wrooong spelling
</textarea>
refresh
Share this article: share on Google+ share on facebook share on linkedin tweet this submit to reddit

Comments

Click here to write/view comments