Html miscellaneous
- ___________ is an open source JavaScript library that allows support for different levels of experiences based on the capabilities of each browser.
-
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.
- Some users have requested tests for IE’s float double margin bug, and support for position:fixed. Which API is suitable for them?
-
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.
- Which property is used to detect the browser’s user agent and code based on the pertinent cases?
-
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.
- A/An _________ is essentially a macro that allows a short name to be associated with the replacement text.
-
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.
- Which of the following gives a text description of the image if it is not available?
-
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.