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 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 represents a date (year, month, day) encoded according to ISO 8601 in Web Form 2.0?

A - datetime

B - datetime-local

C - date

D - month

Answer : C

Explanation

'date' input control represents a date (year, month, day) encoded according to ISO 8601.

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 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 after the document is printed?

A - offlineprint

B - onprint

C - onafterprint

D - onbeforeprint

Answer : C

Explanation

onafterprint − Triggers event after the document is printed.

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 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