HTML Global spellcheck Attribute (2024)


Example

An editable paragraph with spellcheck:

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

Try it Yourself »

Definition and Usage

The spellcheck attribute specifies whether the element is to have its spelling and grammar checked or not.

The following can be spellchecked:

  • Text values in input elements (not password)
  • Text in <textarea> elements
  • Text in editable elements

Browser Support

The numbers in the table specify the first browser version that fully supports the attribute.

Attribute
spellcheck 9.0 10.0 2.0 5.1 10.5

Syntax

<element spellcheck="true|false">

Attribute Values

Value Description
true The element is to have its spelling and grammar checked
false The element is not to be checked

Related Pages

HTML Tutorial: HTML Attributes

HTML Reference: HTML contenteditable Attribute


W3schools Pathfinder

Track your progress - it's free!

HTML Global spellcheck Attribute (2024)
Top Articles
Latest Posts
Article information

Author: Carmelo Roob

Last Updated:

Views: 6212

Rating: 4.4 / 5 (45 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Carmelo Roob

Birthday: 1995-01-09

Address: Apt. 915 481 Sipes Cliff, New Gonzalobury, CO 80176

Phone: +6773780339780

Job: Sales Executive

Hobby: Gaming, Jogging, Rugby, Video gaming, Handball, Ice skating, Web surfing

Introduction: My name is Carmelo Roob, I am a modern, handsome, delightful, comfortable, attractive, vast, good person who loves writing and wants to share my knowledge and understanding with you.