Home
MCQs
HTML MCQs
Attributes MCQs
HTML MCQs

HTML MCQs - Attributes MCQs

Attributes MCQs page consists of attribute and its values, valid value for attribute, favicon attribute, meta attribute, boolean attribute, data source object attribute.

11. To insert a video, we use a video tag and set its src attribute to a local or remote URL containing a playable movie.

A. TRUE

B. FALSE

C. Nothing Can be Said

D. None of the mentioned

Answer: A

12. Which of the following attribute adds audio controls, like play, pause, and volume?

A. audio

B. controls

C. source

D. src

Answer: B

13. Which of the following is not a type of attribute for input tag?

A. day

B. week

C. month

D. time

Answer: A

14. The __________ attribute effectively renders the iframe as an inline include, which allows the parent document’s CSS to affect the contents of the iframe.

A. allow-forms

B. seamless

C. embed

D. allow-scripts

Answer: B

15. Which of the following does not lie under the attribute of <input> and is not supported by Opera?

A. url

B. time

C. tel

D. option

Answer: D

16. Which is the new attribute of <input> element that is used to change the appearance of checkbox?

A. Indeterminate

B. Media

C. EI

D. Target

Answer: A

17. Which attribute does not lie inside <a> and <area> elements?

A. Media

B. Ping

C. Hreflang

D. Preload

Answer: D

18. Which attribute of <input> element can be used both with <datalist> and <select> elements?

A. List

B. Pattern

C. Multiple

D. Max

Answer: A

19. Which is not a new global attribute in HTML5?

A. Contenteditable

B. Contextmenu

C. Title

D. Draggable

Answer: C

20. Which attribute is not essential under <iframe>?

A. src

B. height

C. width

D. frameborder

Answer: D