Home » HTML » Html miscellaneous » Question
  1. What is the use of spellcheck attribute?
    1. Checks spelling and corrects it
    2. Checks spelling of a given particular text only
    3. Indicates if spell checking is allowed
    4. Checks spelling
    5. None of these
Correct Option: C

spellcheck is a global attribute, it indicates if spell checking is allowed or not for the element. Syntax is

<p contenteditable=”true” spellcheck=”true”> William Shakespeare was a great novelist. </p>



Your comments will be displayed only after manual approval.