Learn how to turn off spell checking (grammar correction) for form elements.
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:
<!-- for inputs -->
<input type="text" spellcheck="false">
<!-- for textareas -->
<textarea spellcheck="false"></textarea>
Try it Yourself »
You can also turn of spell checking for the whole form:
Tip: Go to our HTML Form Tutorial to learn more about HTML Forms.
Tip: Go to our HTML spellcheck Attribute Reference to learn more about the global spellcheck attribute.
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!