HTML APIs


  1. Which navigator object property returns a geolocation object?











  1. 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.


  1. What returns the engine name of the browser?











  1. 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.



  1. Action box does not contains _______.











  1. 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.


  1. Which button let us move the map to the current position of the device?











  1. 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.



  1. Search box does not contain __________.











  1. 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.