HTML global attribute spellcheck

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.

What's new in HTML5

The spellcheck attribute is new in HTML5.


<element spellcheck="true|false">

Attribute Values

change the spell
no to check the spell

Browser compatibility

spellcheck Yes 10.0 Yes Yes Yes


    <textarea spellcheck="true">This is some mispelled text</textarea>

Click to view the demo

The permitted values for the spellcheck attribute are true (spellchecking is enabled) and false (spellchecking is disabled).

The spellchecking is implemented differs between browsers.