1036). Which side of the image map can be created using JavaScript?
[A]Server side
[B]Client side
[C] Both Server and Client side
[D]User side
Show Answer
Correct Answer: Client side
Notes:
Answer: b
Explanation: Javascript is used for the creation of client side data. You can use JavaScript to create client side image map.
1037). Which is the attribute used to enable the Client-side image map?
[A]map
[B]area
[C]usemap
[D]areamap
Show Answer
Correct Answer: usemap
Notes: Answer: c
Explanation: The usemap attribute is associated with a
1038). Which are the special tags used for image mapping?
[A]map and area
[B]map and usemap
[C] only map
[D]only usemap
Show Answer
Correct Answer: map and area
Notes:
Answer: a
Explanation: The usemap attribute specifies an image (or an object) as an image-map (an image-map is an image with clickable areas). The special tags used for image mapping are map and area.
1039). Which is the element that follows the use of “img”?
[A]area
[B]usemap
[C]map
[D] any element can follow the use of “img”
Show Answer
Correct Answer: map
Notes: Answer: c
Explanation: The usemap attribute is associated with a
element’s name or id attribute, and creates a relationship between the
and the. The “map” element actually creates the map for the image and usually follows directly after the “img ” element. 1040). What is the purpose of the area element?
[A]Area of the text
[B]Shape and coordinates of the hotspot
[C]Shape and area of the hotspot
[D]Coordinates and area
Show Answer
Correct Answer: Shape and coordinates of the hotspot
Notes: Answer: b
Explanation: The
tag defines an area inside an image-map (an image-map is an image with clickable areas). The
element is always nested inside a
tag. The area element specifies the shape and the coordinates that define the boundaries of each clickable hotspot. 1041). Which of the following is not a navigator property?
[A] platform[]
[B]plugin[]
[C]userAgent[]
[D]browser[]
Show Answer
Correct Answer: browser[]
Notes:
Answer: d
Explanation: The navigator object contains information about the browser. All of the above mentioned are the properties of a navigator.
1042). What is the purpose of the platform[] property in a navigator?
[A]Platform of the script
[B]Platform where the image map was designed
[C]Platform where the browser was compiled
[D]Platform where the plugin was designed
Show Answer
Correct Answer: Platform where the browser was compiled
Notes:
Answer: c
Explanation: The platform[] property is a string that contains the platform for which the browser was compiled. “Win32” for 32-bit Windows operating systems.
1043). What is the purpose of the preference method in a navigator?
[A]Set Browser preference
[B]Set Netscape preference
[C]Both Set Browser & Netscape preference
[D] Sets user preference
Show Answer
Correct Answer: Set Netscape preference
Notes:
Answer: b
Explanation: The preference(name,value) method allows a signed script to get and set some Netscape preferences. If the second parameter is omitted, this method will return the value of the specified preference; otherwise, it sets the value Netscape only.
1044). Which of the following is not a navigator method?
[A]postEnabled
[B]reference
[C]preference
[D]postreference
Show Answer
Correct Answer: preference
Notes:
Answer: c
Explanation: The preference(name, value) method allows a signed script to get and set some Netscape preferences. If the second parameter is omitted, this method will return the value of the specified preference; otherwise, it sets the value Netscape only.
1045). What is the purpose of the userAgent property?
[A]Identifying the data
[B] Identifying the client
[C]Both Identifying the data and client
[D]Identifying the dataset
Show Answer
Correct Answer: Identifying the client
Notes:
Answer: b
Explanation: The userAgent[] property is a string that contains the code name and version of the browser. This value is sent to the originating server to identify the client. The userAgent property returns the value of the user-agent header sent by the browser to the server.