HTML and CSS Reference
In-Depth Information
<section contenteditable="true">
<h1 contenteditable="false">
The Chief
<p>The Chief is...
alt="The Chief">
In this example, the <h1> element isn't
editable, but every other child ele-
ment of the <section> element is.
Note that IE8 doesn't treat contenteditable as inheritable.
You'll need to specify contenteditable="true" on every
element you want to be editable in IE.
The spellcheck attribute
A common feature of word processors is inline spell-checking—spell-
ing mistakes are highlighted by a red squiggle. This feature is also
Search WWH ::

Custom Search