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

B - Google Chrome

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 can be used to associate a caption together with some embedded content in HTML5?

A - footer

B - nav

C - dialog

D - figure

Answer : D

Explanation

'figure' tag can be used to associate a caption together with some embedded content, such as a graphic or video.

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 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 6 - Which of the following method cancels an ongoing watchPosition call?

A - geolocation.getCurrentPosition()

B - geolocation.watchPosition()

C - geolocation.clearPosition()

D - None of the above.

Answer : C

Explanation

geolocation.clearPosition() method cancels an ongoing watchPosition call.

Q 7 - Which of the following attribute specifies whether or not a user is allowed to drag an element?

A - drag

B - content

C - context

D - draggable

Answer : D

Explanation

draggable - Specifies whether or not a user is allowed to drag an element.

Q 8 - Which of the following attribute triggers event at the end of a drag operation?

A - ondragleave

B - ondrag

C - ondragend

D - ondragenter

Answer : C

Explanation

ondragend − Triggers event at the end of a drag operation.

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 event when the message is triggered?

A - onloadedmetadata

B - onloadstart

C - onmessage

D - onoffline

Answer : C

Explanation

onmessage − Triggers event when the message is triggered.


html5_questions_answers.htm

Advertisements