HTML APIs
- Which navigator object property returns a geolocation object?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
There are many navigator object properties, geolocation returns a geolocation object that can be used to locate user’s position, appVersion returns the version information of the browser, appCodeName returns the code name of the browser.
- What returns the engine name of the browser?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
product property returns the engine name of the browser, userAgent returns user-agent header sent by the browser to the server, platform returns for which platform the browser is compiled.
- Action box does not contains _______.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
The action box contains tabs, a geolocation button, geoloaction options and search box, by the use of tabs we can switch between different kind of maps and search engines.
- Which button let us move the map to the current position of the device?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
The geolocation HTML includes a currentPositionBtn which is used to move the map to the current position of the device, there are 3 inputs to let the user choose the geolocation options enableHighAccuracy, timeout, and maximumAge.
- Search box does not contain __________.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
Search box contains an input field in which we can insert the name of the place you are looking for, a search button or a dropdown list, depending on user experience provided by the search tool.