Advertisement
Home Open Editor ❯

HTML Global spellcheck Attribute

Example

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

Try this code ❯

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">


Advertisement

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
Home Open Editor ❯
Advertisement