HTML5 Online Quiz


Advertisements


Following quiz provides Multiple Choice Questions (MCQs) related to HTML5 Framework. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.

Questions and Answers

Q 1 - Which of the following feature is a part of HTML 5?

A - Canvas

B - Audio & Video

C - Geolocation

D - All of the above.

Answer : D

Explanation

All of the above options are new features introduced in HTML5.

Q 3 - Which of the following input control represents a time (hour, minute, seconds, fractional seconds) encoded according to ISO 8601 in Web Form 2.0?

A - week

B - time

C - number

D - range

Answer : B

Explanation

'time' input control represents a time (hour, minute, seconds, fractional seconds) encoded according to ISO 8601.

Q 5 - Which of the following is correct Content-type header that a server side script should send for SSE in HTML5?

A - Content-Type: text/event-stream

B - Content-Type: text/application-stream

C - Content-Type: text/data-stream

D - None of the above.

Answer : A

Explanation

Server side script should send Content-type header specifying the type text/event-stream.

Q 7 - Which of the following attribute specifies whether or not a user is allowed to drag an element?

A - drag

B - content

C - context

D - draggable

Answer : D

Explanation

draggable - Specifies whether or not a user is allowed to drag an element.

Q 8 - Which of the following attribute triggers event when an element has been dragged to a valid drop target?

A - ondragleave

B - ondrag

C - ondragend

D - ondragenter

Answer : D

Explanation

ondragenter − Triggers event when an element has been dragged to a valid drop target.

Q 9 - Which of the following attribute triggers event when an error occur?

A - onerror

B - error

C - onformerror

D - onvalidation

Answer : A

Explanation

onerror − Triggers event when an error occur.

Q 10 - Which of the following attribute triggers event when the duration and other media data of a media element is loaded?

A - onloadedmetadata

B - onloadstart

C - onmessage

D - onoffline

Answer : A

Explanation

onloadedmetadata − Triggers event when the duration and other media data of a media element is loaded.


html5_questions_answers.htm

Advertisements