The contenteditable attribute is a global attribute.

Learn web design with our comprehensive test guide. Improve your skills with flashcards and multiple choice questions. Each question includes hints and explanations. Get ready to ace your exam!

Multiple Choice

The contenteditable attribute is a global attribute.

Explanation:
Contenteditable is a global HTML attribute, meaning you can apply it to any element to make its contents editable by the user. When you add contenteditable="true" (or simply contenteditable) to an element like a div, p, or span, the browser lets the user edit the text directly in the page. If you set contenteditable="false" on a container, editing is disabled inside it, even if children are editable. You don’t need scripting to enable this; you can control it directly in the markup. Because it isn’t limited to specific tag types and works across elements, the statement is true.

Contenteditable is a global HTML attribute, meaning you can apply it to any element to make its contents editable by the user. When you add contenteditable="true" (or simply contenteditable) to an element like a div, p, or span, the browser lets the user edit the text directly in the page. If you set contenteditable="false" on a container, editing is disabled inside it, even if children are editable. You don’t need scripting to enable this; you can control it directly in the markup. Because it isn’t limited to specific tag types and works across elements, the statement is true.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy