The new HTML5 global attribute, "contenteditable" is used to:
Definition and Usage of HTML contenteditable Attribute are as follows:
The contenteditable attribute specifies whether the content of an element is editable or not.
Note: When the contenteditable attribute is not set on an element, the element will inherit it from its parent.
Syntax:-
<element contenteditable="true|false">
An example of an editable paragraph is as follows:
<p contenteditable="true">The Slight Book is an editable website</p>
In HTML5, which method is used to get the current location of a user?
Which attribute for <script> elements is no longer required in HTML5?
What is the correct HTML5 element for playing audio files?
What is the correct HTML5 element for playing video files?
In HTML5, onblur and onfocus are: