Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTML - How can i disable auto text correction in my TEXTAREA?

My textarea contains C# code, so i get red underlines all over the place, is there any way to disable auto correction on a TEXTAREA in html code?

Thank

like image 907
aryaxt Avatar asked Aug 16 '10 19:08

aryaxt


People also ask

How do I get rid of text correction in HTML?

Tip: To disable the spell checking in the entire form at once — just set the spellcheck="false" in the <form> tag, like this <form spellcheck="false"> .

How do I turn off spell check in textarea?

To disable spell check in textarea atrribute spellcheck=”false” can be used.

What is textarea control?

Definition and Usage. The <textarea> tag defines a multi-line text input control. The <textarea> element is often used in a form, to collect user inputs like comments or reviews. A text area can hold an unlimited number of characters, and the text renders in a fixed-width font (usually Courier).


1 Answers

I believe you may be looking for <textarea spellcheck="false"></textarea>

Source: https://developer.mozilla.org/en/controlling_spell_checking_in_html_forms

like image 173
Robert Avatar answered Sep 20 '22 14:09

Robert