1.

Some users have requested tests for IE’s float double margin bug, and support for position:fixed. Which API is suitable for them?(a) mq() media Plugin API(b) addTest() Plugin API(c) testAllProps() Plugin API(d) none of the mentionedThe question was posed to me in an interview for job.I want to ask this question from Compatibility Libraries in section HTML Fundamentals of HTML

Answer»

Right OPTION is (b) addTest() Plugin API

The explanation: The navigator object CONTAINS INFORMATION about the browser. UseAgent property gives user-agent header sent by browser to the server. A navigator.userAgent is used to DETECT the browser’s user agent and CODE based on the pertinent cases.



Discussion

No Comment Found

Related InterviewSolutions