1.

Sprites are_____________(a) 1-D images(b) 2-D images(c) 3-D images(d) not the imageI have been asked this question in an interview.Origin of the question is Using Image Sprites & Standardizing Client-Side Templating in portion HTML Images & Web Page Files of HTML

Answer»

Right ANSWER is (b) 2-D IMAGES

For explanation I would say: 2-D images are sprites. Sprite is a big image which is made up of combining small images into one larger image. It is DEFINED by X and Y COORDINATES. CSS background-POSITION property is used to define the exact position that is to be displayed.



Discussion

No Comment Found

Related InterviewSolutions