spellcheck Attribute

Description

The spellcheck attribute tells if the browser should check the spelling of an element's content.

Using this attribute makes sense only when it is applied to an element the user can edit.

Example


<!DOCTYPE HTML>
<html>
<body>
    <textarea spellcheck="true">This is some mispelled text</textarea>
</body><!--   w  ww. j a va  2 s  .  c  om-->
</html>

Click to view the demo

Note

The permitted values for the spellcheck attribute are true (spellchecking is enabled) and false (spellchecking is disabled).

The spellchecking is implemented differs between browsers.





















Home »
  HTML CSS »
    HTML »




HTML Introduction
HTML Document
HTML Section
HTML Group Content
HTML Text Marker
HTML Table
HTML Form
HTML Embed