html5 spellcheck属性如何工作? [英] How does the html5 spellcheck attribute work?
问题描述
html5 spellcheck
属性如何工作?
我看到本页面中,Chrome 17应该支持 spellcheck
<< input type ='text'>
),但是当我输入该页面给出的textarea中的某些非单词时,我看不到任何改变。 / p>
在浏览器中查看这些设置。请注意,此处有一个复选框,用于控制是否正在使用拼写检查。
How does the html5 spellcheck
attribute work?
I am seeing this page with Chrome 17, which is supposed to support spellcheck
on <textarea>
, (but not on <input type='text'>
), but when I type in some non-words in the textarea given in that page, I see no change.
The spellcheck
attribute is still poorly (if at all) implemented in browsers. For example, when I visit the page you mention in Chrome 18 and type misspelled words into the box "This text area should be checked for mispelled words." the browser marks "words" as misspelled. Double clicking on some other word makes it indicated as misspelled, too. The explanation is that I had Spanish set as the spellchecking language. Note: This language can be changed by right-clicking on the input are and selecting the spellcheck settings, but the change does not take effect before the page is reloaded.
So check out those settings in your browser. Note that there’s a checkbox there that controls whether spellchecking is in use at all.
这篇关于html5 spellcheck属性如何工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!