Learn how to turn off spell checking (grammar correction) for form elements.
Turn Off Spellcheck
By default, when you enter text inside a form element, you will see a red underline below words that are not spelled right/incorrect. However, you can use spellcheck="false" to turn off spell checking:
Example
html
<!-- for inputs -->
<input type="text"
spellcheck="false">
<!-- for
textareas -->
<textarea spellcheck="false"></textarea>
You can also turn of spell checking for the whole form:
Example
html
<form spellcheck="false">
Tip: Go to the HTML Form Tutorial to learn more about HTML Forms.
Tip: Go to the HTML spellcheck Attribute Reference to learn more about the global spellcheck attribute.