This is an editable paragraph.

``` --- ## Browser Support All major browsers support"> This is an editable paragraph.

``` --- ## Browser Support All major browsers support" />
Easy Tutorial
❮ Att Input Max Tag Frameset ❯

HTML contenteditable Attribute

HTML Global Attributes

Example

Editable paragraph:

<p contenteditable="true">This is an editable paragraph.</p>

Browser Support

All major browsers support the contenteditable attribute.


Definition and Usage

The contenteditable attribute specifies whether the content of an element is editable.

Note: If the contenteditable attribute is not set on an element, the element will inherit it from its parent.


Differences Between HTML 4.01 and HTML5

The contenteditable attribute is new in HTML.


Syntax

Attribute Values

Value Description
true Specifies that the element is editable
false Specifies that the element is not editable

❮ Att Input Max Tag Frameset ❯