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 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 SVG tags directly in HTML5 without any plugin?

A - true

B - false

Answer : A

Explanation

Yes! HTML5 allows embeding SVG directly using <svg>...</svg> tag.

Q 7 - Which of the following attribute specifies if the user can edit the element's content or not?

A - editable

B - contenteditable

C - contextmenu

D - content

Answer : B

Explanation

contenteditable − Specifies if the user can edit the element's content or not.

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 at the start of a drag operation?

A - ondragleave

B - ondrag

C - ondragover

D - ondragstart

Answer : D

Explanation

ondragstart − Triggers event at the start of a drag operation.

Q 10 - Which of the following attribute triggers event when the document comes online?

A - onloadedmetadata

B - onloadstart

C - onmessage

D - ononline

Answer : D

Explanation

ononline − Triggers event when the document comes online.


html5_questions_answers.htm

Advertisements