Examveda
Examveda

___________ is used to test whether geolocation is supported in old browsers.

A. Modernizr

B. Modernizr.geolocation

C. Navigator.userAgent

D. Modernizr.js

Answer: Option C

Solution(By Examveda Team)

Since Modernizr is a JavaScript object with methods, we can use Modernizr.geolocation to test whether geolocation is supported.

This Question Belongs to HTML >> Basic HTML

Join The Discussion

Related Questions on Basic HTML

Choose the correct statement of HTML

A. In traditional XHTML close tag for some elements is optional but not encouraged

B. In traditional HTML close tag for some elements is optional but not encouraged

C. None of the mentioned

D. In both traditional XHTML and HTML close tag for some elements is optional