revision:
When the contenteditable attribute is not set on an element, the element will inherit it from its parent. The element will be editable if its parent is editable. You can use this attribute on any HTML element.
The contenteditable attribute does not have an effect on disabled elements.
<element contenteditable="true | false">
The contenteditable attribute specifies that an element is editable in-line. Clicking on the element places the text in edit mode. The attribute is mainly an instance of a Global Attribute and it can be used in any HTML elements. This attribute contains two value: either true or false. If the attribute value is true or empty then the content is editable and if the attribute value is false the content is not editable.
This is a paragraph. It is editable. Try to change this text.
This is a paragraph. It is not editable. Try to change this text.
<p class="spec" contenteditable="true">This is a paragraph. It is editable. Try to change this text.</p> <p class="spec" contenteditable="false">This is a paragraph. It is not editable. Try to change this text.</p>
-- Write your own name hereEdit this content to add your own quote
<blockquote contenteditable=""> <p class="spec">Edit this content to add your own quote</p> </blockquote> <cite style="margin-left:5vw;" contenteditable="true">-- Write your own name here</cite>