The spellcheck attribute tells if the browser should check the spelling of an element's content.
Using this attribute makes sense only when it is applied to an element the user can edit.
The spellcheck
attribute is new in HTML5.
<element spellcheck="true|false">
spellcheck |
Yes | 10.0 | Yes | Yes | Yes |
<!DOCTYPE HTML>
<html>
<body>
<textarea spellcheck="true">This is some mispelled text</textarea>
</body>
</html>
The permitted values for the spellcheck attribute are true (spellchecking is enabled) and false (spellchecking is disabled).
The spellchecking is implemented differs between browsers.