Home
MCQs
HTML MCQs
All MCQs
HTML MCQs

HTML MCQs - All MCQs

Elements MCQs, Attributes MCQs, HTML5 MCQs, DOM mcqs, Images MCQs, XML and Protocols MCQs, Miscellaneous HTML MCQs

11. What creates black navigation bar?

A. .navbar-inverse

B. .navbar-header

C. .navbar-form

D. .navbar-link

Answer: A

12. Which is not the method of History object?

A. go()

B. moveBy()

C. forward()

D. back()

Answer: B

13. When the user leaves instance’s page which function is called?

A. NPP_New

B. NPP_Destroy

C. NP_Shutdown

D. NP_Initialize

Answer: B

14. Which is not the value for CSS transition?

A. transition-duration

B. delay

C. property

D. translate

Answer: D

15. openDatabase() method does not take the argument in __________

A. database name

B. display name

C. database version

D. server name

Answer: D

16. How does the color attribute work?

A. Changes color of the text

B. Changes background color

C. The color picker is defined by it

D. Changes color of the text as well as background

Answer: C

17. What is DOM?

A. Hierarchy of objects in ASP.NET

B. Application programming interface

C. Convention for representing and interacting with objects in html documents

D. Language dependent application programming

Answer: C

18. What is the use of spellcheck attribute?

A. Checks spelling

B. Indicates if spell checking is allowed

C. Checks spelling and corrects it

D. Checks spelling of a given particular text only

Answer: B

19. Which of the following is not navigator object property?

A. appVersion

B. geolocation

C. document

D. cookieEnabled

Answer: C

20. Which of the following element is for holding client-side content?

A. <template>

B. <slot>

C. <element>

D. <content>

Answer: A