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 - Persistent Local Storage

B - WebSocket

C - Server-Sent Events

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 represents a time (hour, minute, seconds, fractional seconds) encoded according to ISO 8601 in Web Form 2.0?

A - week

B - time

C - number

D - range

Answer : B

Explanation

'time' input control represents a time (hour, minute, seconds, fractional seconds) 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 8 - Which of the following attribute triggers event before the document loads?

A - offline

B - onabort

C - onload

D - onbeforeonload

Answer : D

Explanation

onbeforeonload − Triggers event before the document loads.

Q 9 - Which of the following attribute triggers event when an element leaves a valid drop target?

A - ondrag

B - ondragleave

C - ondragover

D - ondragstart

Answer : B

Explanation

ondragleave − Triggers event when an element leaves a valid drop target.

Q 10 - Which of the following attribute triggers event when an element is invalid?

A - onhaschange

B - oninput

C - oninvalid

D - onvalidate

Answer : C

Explanation

oninvalid − Triggers event when an element is invalid.


html5_questions_answers.htm

Advertisements