HTML5 Online Quiz



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 browser supports HTML5 in its latest version?

A - Mozilla Firefox

B - Opera

C - Both of the above.

D - None of the above.

Answer : C

Explanation

Both of the above browsers supports HTML5.

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 provides a hint to the user of what can be entered in the field in HTML5?

A - output

B - placeholder

C - autofocus

D - required

Answer : B

Explanation

HTML5 introduced a new attribute called placeholder. This attribute on <input> and <textarea> elements provides a hint to the user of what can be entered in the field. The placeholder text must not contain carriage returns or line-feeds.

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 is used to group elements?

A - item

B - itemprop

C - itemcheck

D - itemgroup

Answer : A

Explanation

item − Used to group elements.

Q 8 - Which of the following attribute triggers event when media can be played to the end, without stopping for buffering?

A - onbeforeplay

B - onplay

C - oncanplay

D - oncanplaythrough

Answer : D

Explanation

oncanplaythrough − Triggers event when media can be played to the end, without stopping for buffering.

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 event when media data is loaded?

A - onhaschange

B - oninput

C - onload

D - onloadeddata

Answer : D

Explanation

onloadeddata − Triggers event when media data is loaded.

html5_questions_answers.htm
Advertisements