Html miscellaneous


  1. ___________ is an open source JavaScript library that allows support for different levels of experiences based on the capabilities of each browser.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    Modernizr is an open source JavaScript library that allows support for different levels of experiences based on the capabilities of each browser using a simple feature detection model. Geolocation is the identification of geographic location of an object. The navigator object contains information about the browser. Google API, i.e set of application programming interface which allow communication with Google Services & integration to other services.


  1. Some users have requested tests for IE’s float double margin bug, and support for position:fixed. Which API is suitable for them?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    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.



  1. Which property is used to detect the browser’s user agent and code based on the pertinent cases?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    An old strategy was to look at the property navigator.userAgent to detect the browser’s user agent and code based on the pertinent cases.


  1. A/An _________ is essentially a macro that allows a short name to be associated with the replacement text.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    Comments are used to provide idea about coding syntax which is ignored by the browser. Reserved characters in HTML must be replaced with character entities. Characters, not present on your keyboard, can also be replaced by entities. Property of an element is defined by the attribute.



  1. Which of the following gives a text description of the image if it is not available?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    The alt attributes gives a text description of the image if the image is not available at a time. Syntax is

    <img src=”apple.jpg” alt=”This is an apple, It is red” title=”apple”/>

    src attribute defines the address of the image, title attribute provides some additional information about the image. Height attribute is used to adjust the height of an image as per need.