Disable spell checking from input box and textarea

To enable/disable spell checking in HTML elements, use the property «spellcheck». Usually, by default, spell checking is enabled, so we often have to disable it.

Disable spell check
<textarea name="field_1" spellcheck="false"></textarea>
<input type="text" name="field_2" value="" spellcheck="false">

Enable spell check
<textarea name="field_1" spellcheck="true"></textarea>
<input type="text" name="field_2" value="" spellcheck="true">