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

aryaxt picture aryaxt · Aug 16, 2010 · Viewed 35.5k times · Source

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

Answer

Robert picture Robert · Aug 16, 2010

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

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