DEV Community

Sudharshan S
Sudharshan S

Posted on

1

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

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay