HTML contenteditable attribute
In this tutorial, we will learn about contenteditable attribute in HTML with the help of examples.
contenteditable attribute
The contenteditable attribute is used to specify whether the content of an element is editable or not.
Syntax
<a contenteditable = "true">......</a>
Attribute values
Value | Description |
---|---|
true | Used to specify that the element is editable |
false | Used to specify that the element is not editable |
Next Tutorial
We hope that this tutorial helped you develop better understanding of the concept of contenteditable-attribute in HTML.
Keep Learning : )
In the next tutorial, you'll learn about HTML data
Attribute.