HTML5 Multiple choices


Total available count: 25
Subject - Web Development
Subsubject - HTML5

The new HTML5 global attribute, "contenteditable" is used to:


 

 

 

 



A


Solution:-

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>

 




Next 5 multiple choice(s)

1

In HTML5, which method is used to get the current location of a user?

2

Which attribute for <script> elements is no longer required in HTML5?

3

What is the correct HTML5 element for playing audio files?

4

What is the correct HTML5 element for playing video files?

5

In HTML5, onblur and onfocus are:

Comments