Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML spellcheck Attribute

HTML spellcheck Attribute

HTML Global Attributes HTML Global Attributes

Example

An editable paragraph with spell checking:

This is an editable paragraph. Try editing the text.

Try it »


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

Internet Explorer 10, Firefox, Opera, Chrome, and Safari browsers support the spellcheck attribute.

Note: Internet Explorer 9 and earlier IE versions do not support the spellcheck attribute.


Definition and Usage

The spellcheck attribute specifies whether the element's content should be spell-checked.

The following text can be spell-checked:


Differences between HTML 4.01 and HTML5

The spellcheck attribute is new in HTML5.


Syntax

<

element

spellcheck="true|false">

HTML Global Attributes HTML Global Attributes