HTML and CSS Reference
In-Depth Information
available in contenteditable sections. To indicate to the browser that
text should be spell-checked, set the spellcheck attribute to true :
<section
contenteditable="true"
spellcheck="true">
<h1>The Chief</h1>
<p>The Chief is Columbia...
...effort meaningless.</p>
You can also recommend that browsers not spell-check text by setting
the attribute to false . This might be useful if the user was expected to
enter things like codes or part numbers:
<section
contenteditable="true"
spellcheck="false">
<h1>Stef</h1>
<p>Stef works as the...
...than he does.</p>
Note that, in both cases, the value of the spellcheck attribute is inher-
ited by the child elements. You can override it by specifying it on par-
ticular elements.
 
Search WWH ::




Custom Search