Атрибут contenteditable

element.contenteditable = true; http://www.w3.org/TR/2010/WD-html5-20100624/editing.html#contenteditable