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 2 - Which of the following tag can be used to mark up a conversation in HTML5?

A - footer

B - nav

C - dialog

D - figure

Answer : C

Explanation

'dialog' tag can be used to mark up a conversation.

Q 3 - Which of the following input control represents a date and time (year, month, day, hour, minute, second, fractions of a second) encoded according to ISO 8601 with the time zone set to UTC in Web Form 2.0?

A - datetime

B - datetime-local

C - date

D - month

Answer : A

Explanation

'datetime' input control represents a date and time (year, month, day, hour, minute, second, fractions of a second) encoded according to ISO 8601 with the time zone set to UTC.

Q 7 - Which of the following attribute specifies the context menu for an element?

A - key

B - contextcontent

C - contextmenu

D - context

Answer : C

Explanation

contextmenu - Specifies the context menu for an element.

Q 8 - Which of the following attribute triggers event before the document is printed?

A - onbeforeprint

B - onafterprint

C - onprint

D - beforeprint

Answer : A

Explanation

onbeforeprint − Triggers event before the document is printed.

Q 9 - Which of the following attribute triggers event when an element is being dragged over a valid drop target?

A - ondragleave

B - ondrag

C - ondragover

D - ondragstart

Answer : C

Explanation

ondragover − Triggers event when an element is being dragged over a valid drop target.

Q 10 - Which of the following attribute triggers event when the browser starts to load the media data?

A - onloadedmetadata

B - onloadstart

C - onmessage

D - onoffline

Answer : B

Explanation

onloadstart − Triggers event when the browser starts to load the media data.


html5_questions_answers.htm

Advertisements