DEV Community

Sudharshan S
Sudharshan S

Posted on

Global Attributes - Contenteditable Attribute✍

In HTML Contenteditable Attribute, is a Global Attribute.

By clicking on the paragraph, the content of it can be edited similar to an input text field.

It has two attribute values: true and false.

  1. true - it specifies that the element is editable.
    Alt Text

  2. false - it specifies that the element is not editable.
    Alt Text

Discussion (0)