This is in continuation of the series of articles related to html5.
In this tutorial I will show you how can you apply spell checking on content of your webpage.
In html5 there is an attribute called “spellcheck” that have two values true and false if you set the value to true and spelling of your element is incorect then it will underline you text inorder to show that the spelling is incorrect.
Inorder to see it’s effects you’ll have to use contenteditable attribute that we have allready seen in my previous article.Example demonstration is as under:
<!DOCTYPE HTML>
<html>
<body>
<p contenteditable="true" spellcheck="true" >This blog is for Progammers(Programmers)</p>
</body>
</html>
That’s it: Your comments will be highly appreciated.