contenteditable

The contenteditable HTML attribute is an enumerated attribute whose keywords are the empty string, true, and false.

Child elements without the attribute inherit from the parent element.

Syntax

contenteditable="value"
Value Description
empty editable
false not editable
true editable

Examples

empty

false

inherit

true

Web Hypertext Application Technology Working Group (WHATWG)

World Wide Web Consortium (W3C)

Home Menu