In this post, we will learn how to disable spell checking from input box and textarea in HTML forms. So how we can do this, we will learn in this post.   


How To Disable Spell Checking From Input Box And Textarea in HTML Forms ?


Disable Spell Checking From Input Box And Textarea

To disable spell checking from input box and textarea, we will use the  spellcheck  attribute. We set the value of this attribute to  false  , then it turns off for spell checking. 


If we want to disable the spell checking in the entire form at once, then we just set the  spellcheck="false"  in the  <form>  tag. 


So how we can disable spell checking, we will see in the following example.


<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>How To Disable Spell Checking From Input Box And Textarea in HTML Forms ?</title>
</head>
<body>

<form spellcheck="false">
<input type="text" spellcheck="false">
<br/><br/>
<textarea rows="10" cols="30" spellcheck="false"></textarea>
</form>

</body>
</html> code-box



Summary

In this post we learned how to disable spell checking from input box and textarea in HTML forms. You try to make it yourself. I hope you make. If you face any problem, then comment and tell us. Keep visiting the blog to read more similar posts. 

Post a Comment

Previous Post Next Post