HTML Global spellcheck Attribute

❮ Previous Global Attributes Next ❯

Example

<p contenteditable="true" spellcheck="true">This is a paragraph.</p>

Meaning

The spellcheck attribute is set to either true or false and indicates whether the content enclosed by the element should be spelling and grammar checked.

If it has no value, the assumed value is true unless it inherits false from an enclosing parent.

Values:

Note: Not supported in HTML 4.01.




Standard Syntax

<element spellcheck="true|false">



Browser Support




Status







Attribute Values

Value Description
true Specifies the element is to have it's spelling and grammar checked
flase Specifies the element is not to be spelling and grammar checked
❮ Previous Global Attributes Next ❯