ContentEditable attribute provides the user to edit the content of html element. If the attribute is present and its value is true user can easily edit content of an html element and if value is false user cannot edit the content.
Indicates that the element is editable
Indicates that the element is not editable
<p contenteditable="true">This is a paragraph. It is editable. Try to change this text.</p>
<p contenteditable="false">This is a paragraph. It is editable. Try to change this text.</p>
In the above example the first <p> tag content is editable as its value (contenteditable="true") is true and the second <p> tag content is not editable as its value is false(contenteditable="false").