Javascript Multiple Choice Questions on “Image Map”.
1. 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
Answer: b
Clarification: Javascript is used for the creation of client side data. You can use JavaScript to create client side image map.
2. Which is the attribute used to enable the Client-side image map?
a) map
b) area
c) usemap
d) areamap
Answer: c
3. Which are the special tags used for image mapping?
a) map and area
b) map and usemap
c) only map
d) only usemap
Answer: a
Clarification: 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.
4. 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”
Answer: c
Clarification: The usemap attribute is associated with a
5. 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
Answer: b
Clarification: 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