Horje
HTML spellcheck Attribute

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

Applies to

The spellcheck attribute is part of the Global Attributes, and can be used on any HTML element.

Element Attribute
All HTML elements spellcheck

Browser Support

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


How to add An editable paragraph with spellcheck - HTML spellcheck Attribute

This is a praggagraph. It is editable. Try to change the text.
index.html
Example: HTML
 <p contenteditable="true" spellcheck="true">This is a paragraph.</p> 

Output should be:

How to add An editable paragraph with spellcheck - HTML spellcheck Attribute




html spellcheck attribute

Type:
Develop
Category:
Web Tutorial
Sub Category:
HTML Attribute
Uploaded by:
Admin


Read Article
https://develop.horje.com/learn/1434/reference