Any attributes or some tweak to ignore the red-colored underline? or it's ignoreable due to browser settings?
Disabling Spell Check in a HTML Form: To disable spellcheck in a HTML form the spellcheck attribute is set to “false”.
Here's how. Select the text where you'd like to disable spell check or press Ctrl+A to select the entire document. On the Review tab, click Editor, and then click Set Proofing Language. In the Language box, click Don't check spelling or grammar, and then click OK.
Answer: Set the spellcheck attribute to false Usually, when you enter the grammatically incorrect words inside <input> or <textarea> fileds in an HTML form you will see the red underline below the incorrect words.
Here's how. Click File > Options > Proofing, clear the Check spelling as you type box, and click OK. To turn spell check back on, repeat the process and select the Check spelling as you type box. To check spelling manually, click Review > Spelling & Grammar.
It's not CSS but HTML: spellcheck="false"
in your HTML element should do the trick. But I think Safari for example still draws a red line under it.
It's only possible to do this using HTML5. So you can add the spellcheck attribute to HTML element by using jquery. Try this
$("#textarea").attr("spellcheck", "false");
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