How to disable spell-checking on HTML text fields?

Spread the love

Sometimes, we want to disable spell-checking on HTML text fields.

In this article, we’ll look at how to disable spell-checking on HTML text fields.

How to disable spell-checking on HTML text fields?

To disable spell-checking on HTML text fields, we set the spellcheck attribute.

For instance, we write

<textarea spellcheck="false">
    ...
</textarea>

to set spellcheck to false to disable the browser’s spell check on the text area.

Conclusion

To disable spell-checking on HTML text fields, we set the spellcheck attribute.

Leave a Reply

Your email address will not be published.