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 represents the header of a section in HTML5?

A - section

B - article

C - aside

D - header

Answer : D

Explanation

'header' tag represents the header of a section.

Q 3 - Which of the following input control is used for input fields that should contain a value from a range of numbers in Web Form 2.0?

A - week

B - time

C - number

D - range

Answer : D

Explanation

'range' input control is used for input fields that should contain a value from a range of numbers.

Q 4 - Which of the following tag automatically focus one particular form field in HTML5?

A - output

B - placeholder

C - autofocus

D - required

Answer : C

Explanation

This is a simple one-step pattern, easily programmed in JavaScript at the time of document load, automatically focus one particular form field.

Answer : A

Explanation

The Session Storage Data would be deleted by the browsers immediately after the session gets terminated.

Q 7 - Which of the following attribute triggers event when the document goes offline?

A - offline

B - off

C - out

D - onbeforeonload

Answer : A

Explanation

offline − Triggers event when the document goes offline.

Q 8 - Which of the following attribute triggers event when a context menu is triggered?

A - oncontextmenu

B - ondrag

C - ondragend

D - ondragenter

Answer : A

Explanation

oncontextmenu − Triggers event when a context menu is triggered.

Q 9 - Which of the following attribute triggers event when dragged element is being dropped?

A - ondrop

B - ondurationchange

C - onemptied

D - onended

Answer : A

Explanation

ondrop − Triggers event when dragged element is being dropped.

Q 10 - Which of the following attribute triggers events when a form gets user input?

A - onchange

B - onedit

C - onformchange

D - onforminput

Answer : D

Explanation

onforminput − Triggers events when a form gets user input.

html5_questions_answers.htm
Advertisements