1.

Which of the following detects for the support of size attribute of an image?(a) JPEG 2000(b) JPEG XR(c) Image crossOrigin(d) SizesThis question was addressed to me during a job interview.This intriguing question comes from Adding HTML features safely with Modernizr topic in portion HTML Images & Web Page Files of HTML

Answer»

Right choice is (d) Sizes

To explain: Sizes test for the sizes attribute for images. IMAGE crossOrigin is used to check the support of crossOrigin attribute on images, it allows CROSS domain images on a CANVAS, JPEG 2000 and JPEG XR are respectively for the check of JPEG 2000 and JPEG XR FORMATS on the images.



Discussion

No Comment Found

Related InterviewSolutions