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 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 accepts only numerical value in Web Form 2.0?

A - week

B - time

C - number

D - range

Answer : C

Explanation

'number' input control accepts only numerical value. The step attribute specifies the precision, defaulting to 1.

Q 5 - Which value of Socket.readyState atribute of WebSocket indicates that the connection has not yet been established?

A - 0

B - 1

C - 2

D - 3

Answer : A

Explanation

A value of 0 indicates that the connection has not yet been established.

Q 8 - Which of the following attribute triggers event when the window loses focus?

A - onbeforeload

B - onblur

C - onlostfocus

D - lostfocus

Answer : B

Explanation

onblur − Triggers event when the window loses focus.

Q 9 - Which of the following attribute triggers events when a form changes?

A - onchange

B - onedit

C - onformchange

D - onforminput

Answer : C

Explanation

onformchange − Triggers events when a form changes.

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