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 tag represents an independent piece of content of a document in HTML5?

A - section

B - article

C - aside

D - header

Answer : B

Explanation

'article' tag represents an independent piece of content of a document, such as a blog entry or newspaper article.

Q 3 - Which of the following input control represents a date consisting of a year and a month encoded according to ISO 8601 in Web Form 2.0?

A - datetime

B - datetime-local

C - date

D - month

Answer : D

Explanation

'month' input control represents a date consisting of a year and a month encoded according to ISO 8601.

Q 4 - Which of the following tag automatically focus one particular form field in HTML5?

A - output

B - placeholder

C - autofocus

D - required

Answer : C

Explanation

This is a simple one-step pattern, easily programmed in JavaScript at the time of document load, automatically focus one particular form field.

Q 7 - Which of the following attribute triggers an abort event?

A - offline

B - onabort

C - abort

D - onbeforeonload

Answer : B

Explanation

onabort − Triggers an abort event.

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 an element is being dragged over a valid drop target?

A - ondragleave

B - ondrag

C - ondragover

D - ondragstart

Answer : C

Explanation

ondragover − Triggers event when an element is being dragged over a valid drop target.

Q 10 - Which of the following attribute triggers event when an element gets user input?

A - onhaschange

B - oninput

C - ondata

D - onloadeddata

Answer : B

Explanation

oninput − Triggers event when an element gets user input.

html5_questions_answers.htm
Advertisements