1.

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 areaI got this question by my school principal while I was bunking the class.My question is taken from Image Map in chapter Caching, Debugging and Animation of JavaScript

Answer»

The correct option is (b) Shape and coordinates of the hotspot

The EXPLANATION is: 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.



Discussion

No Comment Found

Related InterviewSolutions