Global Attributes

HTML spellcheck attribute

Hints whether editable text should be checked for spelling. It is not validation; avoid exposing sensitive text to optional spelling services. Applicability: global HTML attribute, subject to element-specific restrictions and browser support.

Formal Syntax & Structure

html syntaxhtml
spellcheck="false"

Parameters & Attributes

NameTypeDescription
spellcheckenumerated: true, falseHints whether editable text should be checked for spelling. It is not validation; avoid exposing sensitive text to optional spelling services.

Working Example

Example Snippethtml
<textarea aria-label="Code sample" spellcheck="false"></textarea>
HTML Reference