How to use Spellcheck Attribute in HTML5
In this article I am going to explain about spellcheck attribute in Html5.
Spellcheck Atribute in HTML5
The spellcheck use for specified element have ability to check spelling and grammar. When we use spellcheck attribute with any element then element automatic check spelling and grammar. If element value is wrong then element value will be display with red underline. SpellCheck attribute is new in HTML5. Spellcheck attribute can be apply on following element.
- Text value in input element.
- Text value in text area.
- text value in editable element.
Browser that supports Spellcheck Attribute
Google chrome, opera and Safari browsers.
Syntax
<ElementName spellcheck="true|false">
|
Example
<html>
<body>
<p contenteditable="true" spellcheck="true">Edit its text for chech spelling and grammar</p>
Enter value <input type="text" name="name" spellcheck="true" /><br />
</body>
</html>
|
Output

Further Readings
You may also want to read these related articles: here
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers her