HTML and CSS Reference
In-Depth Information
creation of content from a web page, but these have
depended mostly on server capabilities rather than
on any built-in support in
HTML
. This changes in
HTML5
with the advent of the
contenteditable
and
spellcheck
attributes.
Standard
4.0
3.0
5.5
9.00
3.0
Basic text editing
Making an element editable is as easy as adding an attribute:
<p contenteditable="true">Stef works
as the Corporate Sales Manager. He
...
much more money than he does.</p>
If the user clicks the element, a
cursor will appear, and they can
start typing.