How to Disable Form Spellcheck

Learn how to turn off spellcheck for form elements (grammar correction).

Turn Off Spellcheck

By default, when you type text into form elements, misspelled or incorrect words will appear under a red underline.

However, you can use spellcheck="false" To turn off spellcheck:

Example

<!-- For input boxes -->
<input type="text" spellcheck="false">
<!-- For text areas -->
<textarea spellcheck="false"></textarea>

Try It Yourself

You can also turn off spellcheck for the entire form:

Example

<form spellcheck="false">

Try It Yourself

Related Pages

Tutorial:HTML form

Reference Manual:HTML spellcheck Attribute