I have an input in an HTML page
<input id="SearchBox" type="text" value="" width="300px"
title="Search the card pool" autocomplete="off" maxlength="170">
I would like to switch this off with something like autospellcheck="off". Is there a way to achieve that?
Is there also a way to switch this off for Firefox?
Output: Disabling Spell Check in a HTML Form: To disable spellcheck in a HTML form the spellcheck attribute is set to “false”.
To disable spellcheck in an HTML form the spellcheck attribute is set to “false”.
It's not CSS but HTML: spellcheck="false" in your HTML element should do the trick.
Use the spellcheck
attribute:
<textarea spellcheck="false"></textarea>
See Spellcheck (MSDN) or Controlling spell checking in HTML forms (MDN).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With