HTML5 spellcheck attribute, html5spellcheck
HTML5 spellcheck attributes:
This attribute specifies whether to spell the element content.
You can check the spelling of the following text:
(1). Value (non-password) in the input element of the text type ).
(2) the value in the textarea element.
(3). editable values in the element.
Syntax structure:
<element spellcheck="true|false">
Browser support:
(1). IE9 and later browsers support this attribute.
(2) Google Chrome supports this attribute.
(3) Firefox supports this attribute.
(4). Safari supports this attribute.
(5) operabrowser supports this attribute.
Differences between HTML4.01 and html5:
The spellcheck attribute is added to html5.
Property value:
Value |
Description |
True |
It is required that the text of the element should be checked for spelling. |
False |
It is required that the spelling of the element text should not be checked. |
Code example:
<! DOCTYPE html>
Original address: http://www.51texiao.cn/HTML5jiaocheng/2015/0618/4613.html
The most original address is: http://www.softwhy.com/forum.php? Mod = viewthread & tid = 10031.