html: remove the spell check of input/textarea tags

By default, textareaspelling and grammar checks are enabled, and the performance effect is that words with misspellings will be underlined in red

<textarea></textarea>

Effect
insert image description here
Sometimes, we don't need spell check, we can spellcheck="false"remove spelling and grammar check through configuration properties

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

effect
insert image description here
reference

  1. Input label automatic verification function removal implementation
  2. https://developer.mozilla.org/zh-CN/docs/Web/HTML/Element/textarea

Guess you like

Origin blog.csdn.net/mouday/article/details/132047381