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 - Is HTML5 backward compatible with old browsers?

A - true

B - false

Answer : A

Explanation

Yes! HTML5 is designed, as much as possible, to be backward compatible with existing web browsers.

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 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 4 - Can you use MathML tags directly in HTML5 without any plugin?

A - true

B - false

Answer : A

Explanation

Yes! The HTML syntax of HTML5 allows for MathML elements to be used inside a document using <math>...</math> tags.

Q 5 - Which value of Socket.readyState atribute of WebSocket indicates that the connection is established and communication is possible?

A - 0

B - 1

C - 2

D - 3

Answer : B

Explanation

A value of 1 indicates that the connection is established and communication is possible.

Q 7 - Which of the following attribute is used to group items?

A - item

B - itemprop

C - itemcheck

D - itemgroup

Answer : B

Explanation

itemprop − Used to group items.

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 the window gets focus?

A - focus

B - onfocus

C - onformchange

D - onforminput

Answer : B

Explanation

onfocus − Triggers event when the window gets focus.

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

Useful Video Courses


Video

HTML Online Training

19 Lectures 2 hours

Anadi Sharma

Video

HTML5 Online Training

16 Lectures 1.5 hours

Anadi Sharma

Video

HTML Web Development

18 Lectures 1.5 hours

Frahaan Hussain

Advertisements