Thursday, February 15, 2018

Spell Check in input box and textarea in Firefox and Chrome





Default spell check for textarea tag is  true, but false is for input tag in HTML form.
 To enable spellcheck in input text box in HTML form
<input id="title0" spellcheck="true" value="1"/> 
To enable spellcheck in textarea in HTML form
<textarea> </textarea>
or
<textarea spellcheck="true"> </textarea>
To disable spellcheck  in textarea in HTML form
 <textarea spellcheck="flase"> </textarea>
After enable spellcheck ,    red underlines will be shown below the incorrect words.

No comments:

Post a Comment