spellcheck Attribute
Description
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.
Example
<!DOCTYPE HTML>
<html>
<body>
<textarea spellcheck="true">This is some mispelled text</textarea>
</body><!-- w ww. j a va 2 s . c om-->
</html>
Note
The permitted values for the spellcheck attribute are true (spellchecking is enabled) and false (spellchecking is disabled).
The spellchecking is implemented differs between browsers.