Open In App
Related Articles

How to disable spell checking from Input Box and Textarea in HTML forms?

Improve Article
Save Article
Like Article

Basically the concept of spell check feature is used when we enter the grammatically incorrect words inside <input> or <textarea> fields in HTML form you will see the red underline below the incorrect words. It is used to detect grammatical or spelling mistakes in the text fields.

To disable spellcheck in an HTML form the spellcheck attribute is set to “false”. Below is the sample HTML program with disabled spellcheck.



<!DOCTYPE html>
      How to disable spell checking
from Input Box and Textarea in HTML forms
    <h4>Enabling the spell check Property</h4>
      <input type="text" spellcheck="true">
<h4> Disabling the spell check Property</h4>
            <input type="text" spellcheck="false">
            <textarea spellcheck="false"></textarea>
        <button type="reset">Reset</button>


Supported Browsers are listed below:

  • Google Chrome
  • Internet Explorer
  • Firefox
  • Opera
  • Safari
Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!

Last Updated : 06 Sep, 2021
Like Article
Save Article
Similar Reads
Complete Tutorials