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 represents a piece of content that is only slightly related to the rest of the page in HTML5?

A - section

B - article

C - aside

D - header

Answer : C

Explanation

'aside' tag represents a piece of content that is only slightly related to the rest of the page.

Q 3 - Which of the following input control represents a date and time (year, month, day, hour, minute, second, fractions of a second) encoded according to ISO 8601 with no time zone information in Web Form 2.0?

A - datetime

B - datetime-local

C - date

D - month

Answer : B

Explanation

'datetime-local' input control represents a date and time (year, month, day, hour, minute, second, fractions of a second) encoded according to ISO 8601 with no time zone information.

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 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 event when the length of the media is changed?

A - ondrop

B - ondurationchange

C - onemptied

D - onended

Answer : B

Explanation

ondurationchange − Triggers event when the length of the media is changed.

Q 10 - Which of the following attribute triggers event when the document goes offline?

A - onloadedmetadata

B - onloadstart

C - onmessage

D - onoffline

Answer : D

Explanation

onoffline − Triggers event when the document goes offline.


html5_questions_answers.htm

Advertisements