Html miscellaneous
- Which of the following is not screen object property?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
The screen object properties are availWidth, pixelDepth, width, height, colorDepth, availDepth. The total width of the screen is returned by width, height returns the total height of the screen, pixelDepth returns color resolution of the screen in pixels.
- Which of the following is the Navigator object method?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
There are two navigator object methods namely taintEnabled() and javaEnabled(). taintEnabled() the ability of the browser of data tainting. This method can’t be used in JavaScript 1.2 version. javaEnabled() method specifies whether Java is enabled in the browser or not.
- Which of the following is not navigator object property?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
The navigator object properties are appVersion, cookieEnabled, appCodeName, geolocation, appName, product, userAgent, platform, online, language. Engine name of the browser is returned by product and the language of the browser is returned by language.
- Which of the following is not window object method?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
Some of the window object methods are atob(), close(), focus(), blur(), alert(), clearInterval(), confirm(), btoa(), getComputedStyle(), open(), moveTo(), prompt(), matchMedia(), moveBy(), getSelection(), scroll(), setInterval(), stop(), setTimeout() etc.
- Which of the following is not window object property?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
Window object properties are frames, history, frameElement, defaultStatus, closed, innerHeight, document, innerWidth, location, name, outerHeight, outerHeight, opener, pageXOffset, parent, screenTop, screen, screenLeft, screen, scroll, status, self, sessionStorage, top.