Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

1.

What does not affect the element itself?(a) perspective()(b) sacle()(c) matrix()(d) rotate()This question was posed to me in homework.This interesting question is from Table Graphs, 2D Transforms, Boxing of Images & Constrained Images in division Layout & Images of CSS

Answer»

Correct CHOICE is (a) perspective()

The best I can explain: perspective() does not affect the element itself, but AFFECTS the transforms of DESCENDANT element’s 3D TRANSFORM, allowing them all to have a consistent depth perspective.

2.

What combines all the 2D transform methods into one?(a) skewX()(b) matrix()(c) skewY()(d) skew()I have been asked this question in final exam.This intriguing question comes from Table Graphs, 2D Transforms, Boxing of Images & Constrained Images topic in chapter Layout & Images of CSS

Answer»

Right option is (b) matrix()

To explain: The matrix() method COMBINES all 2D transform METHODS into one, the matrix() method takes six parameters, CONTAINING MATHEMATIC FUNCTIONS, that allows us to rotate, scale, move or skew the elements.

3.

What skews an element along X and Y-axis?(a) skew()(b) skewX()(c) skewY()(d) matrix()I have been asked this question in an international level competition.This intriguing question originated from Table Graphs, 2D Transforms, Boxing of Images & Constrained Images in portion Layout & Images of CSS

Answer» CORRECT OPTION is (a) skew()

To elaborate: The skew() METHOD skews an element ALONG X and Y-axis by the GIVEN angles,
4.

Which of the following increases or decreases the size of element?(a) skewX()(b) matrix()(c) scale()(d) skewY()I had been asked this question in homework.Asked question is from Table Graphs, 2D Transforms, Boxing of Images & Constrained Images in chapter Layout & Images of CSS

Answer»

Correct OPTION is (c) SCALE()

To elaborate: The scale() method INCREASES or DECREASES the size of an element according to the parameters given for width and HEIGHT,

5.

Which of the following will rotate an element clockwise or counter-clockwise?(a) rotate()(b) skewX()(c) skewY()(d) matrix()I have been asked this question in an interview for internship.Question is taken from Table Graphs, 2D Transforms, Boxing of Images & Constrained Images topic in portion Layout & Images of CSS

Answer»

Correct option is (a) rotate()

The explanation is: The rotate() method ROTATES an ELEMENT CLOCKWISE or counter-clockwise ACCORDING to the GIVEN degree,

6.

Which of the following moves an element from its current position?(a) rotate()(b) translate()(c) scale()(d) matrix()This question was posed to me by my college professor while I was bunking the class.I would like to ask this question from Table Graphs, 2D Transforms, Boxing of Images & Constrained Images topic in section Layout & Images of CSS

Answer»

The correct ANSWER is (B) TRANSLATE()

The explanation: The translate() method moves an ELEMENT from its current position according to PARAMETERS given for X-axis and Y-axis,

7.

Which of the following uses AngulaJS?(a) d3 linegraph(b) Animated Donut chart(c) Infographic charts(d) CSS 3D animated chartI got this question in an online quiz.The query is from Table Graphs, 2D Transforms, Boxing of Images & Constrained Images in section Layout & Images of CSS

Answer»

The correct answer is (d) CSS 3D ANIMATED chart

To explain: 3D prisma are created with HTML and CSS3(D) transforms, shaded with CSS gradients, animated with CSS TRANSITIONS. AngularJS is USED to write up an updating dataset. The size and thickness of the animated donut chart can be easily edited via CSS, JavaScript will do the REST.

8.

Which of the following will not use JavaScript?(a) Animated attacked bar graph(b) Pie chart(c) Animated Donut chart(d) Infographic chartsThe question was asked in a national level competition.Enquiry is from Table Graphs, 2D Transforms, Boxing of Images & Constrained Images in section Layout & Images of CSS

Answer»

Right choice is (B) PIE chart

The EXPLANATION is: Pure CSS3 experimental CHARTS do not use any JavaScript & ZERO image, but can be viewed in Webkit browsers. Animated Stacked Bar Graph use D3 chart and JavaScript, it is developed to mimic live data feed, and give an illusion of how to handle data on the backend.

9.

Which of the following is a library for JavaScript?(a) PlotKit(b) List bar chart(c) Pie chart(d) Stacked bar graphsI had been asked this question in an online interview.My question is from Table Graphs, 2D Transforms, Boxing of Images & Constrained Images in section Layout & Images of CSS

Answer»

The CORRECT choice is (a) PlotKit

The BEST I can explain: PlotKit is a library for JavaScript that is an IMPROVED version of CanvasGraph. It LETS us build various sorts of charts and graphs without a HITCH. In list bar chart we style definition list and convert it into a timeline chart.

10.

object-fit is not supported by _______(a) Chrome(b) IE(c) Opera(d) FirefoxThis question was addressed to me in unit test.This interesting question is from Table Graphs, 2D Transforms, Boxing of Images & Constrained Images topic in portion Layout & Images of CSS

Answer»

The correct answer is (b) IE

The explanation: In the desktop, object-fit is not SUPPORTED by Internet Explorer but supported by CHROME, opera, firefox, edge, safari. In mobiles or tablets IOS Safari, Opera MOBILE, Opera MINI, Android, Android Chrome, Android Firefox support this.

11.

Which value will compare the difference between none and contain?(a) contain(b) scale-down(c) none(d) coverThe question was posed to me in an international level competition.My query is from Table Graphs, 2D Transforms, Boxing of Images & Constrained Images in division Layout & Images of CSS

Answer» CORRECT option is (b) scale-down

To explain: When SETTING the VALUE to scale-down the image will compare the difference between NONE and contain in order to find the smallest CONCRETE object size when set to cover the image will fill the height and width of its box.
12.

Which of the following position element is not affected by the top, bottom, left etc. property?(a) static(b) clip(c) relative(d) absoluteThis question was addressed to me in semester exam.This interesting question is from Sliding Doors & Clipped Sliding Doors topic in section Layout & Images of CSS

Answer»

Correct answer is (a) STATIC

To explain I would say: HTML ELEMENTS are positioned static by default, static positioned elements are not affected by top, BOTTOM, left and right properties. An element with position: static; is not positioned in any SOCIAL way, it is always positioned according to the normal flow of the PAGE.

13.

What is the default value of object-fit?(a) fill(b) contain(c) none(d) coverThis question was addressed to me in a job interview.My enquiry is from Table Graphs, 2D Transforms, Boxing of Images & Constrained Images in division Layout & Images of CSS

Answer»

Correct choice is (a) FILL

The best I can EXPLAIN: Object-fit has can be set with five values. When set to the value fill, it is the default value which stretches the image to fit the content box, regardless of its aspect-ratio, contain INCREASES or DECREASES the SIZE of the image to fill the box whilst preserving its aspect-ratio.

14.

Which of the following is positioned relative to the nearest positioned ancestor?(a) absolute(b) static(c) clip(d) relativeThis question was posed to me during a job interview.Asked question is from Sliding Doors & Clipped Sliding Doors topic in portion Layout & Images of CSS

Answer»

Correct choice is (a) absolute

Easiest explanation: An element with POSITION: absolute; is positioned relative to the nearest positioned ancestor, INSTEAD of position relative to the viewport LIKE fixed. However, if an absolute positioned element has no positioned ancestors, it uses the document BODY and moves along with PAGE scrolling.

15.

What clips an absolutely positioned elements?(a) right(b) bottom(c) position(d) clipThis question was addressed to me in an online quiz.This is a very interesting question from Sliding Doors & Clipped Sliding Doors topic in chapter Layout & Images of CSS

Answer»

Right answer is (d) clip

Explanation: clip clips an absolutely positioned element, BOTTOM sets the bottom MARGIN edge for a positioned BOX, position specifies the TYPE of POSITIONING for an element, right sets the right margin edge for a positioned box.

16.

What sets the stack order of an element?(a) z-index(b) right(c) top(d) positionI have been asked this question at a job interview.I want to ask this question from Sliding Doors & Clipped Sliding Doors topic in chapter Layout & Images of CSS

Answer»

Right OPTION is (a) z-index

The best I can EXPLAIN: The z-index property specifies the stack ORDER of an element i.e. which element should be placed in FRONT of, or BEHIND, the others, an element can have positive or negative stack order,

17.

Which of the following does not support sticky version?(a) Firefox(b) Opera(c) IE(d) ChromeThis question was addressed to me during an interview.I need to ask this question from Sliding Doors & Clipped Sliding Doors topic in chapter Layout & Images of CSS

Answer» CORRECT option is (c) IE

The best explanation: INTERNET EXPLORER, Edge 15 and earlier versions do not support sticky positioning. Safari requires a –webkit-prefix. W should also specify at LEAST one of the top, right, bottom or left for sticky positioning to work.
18.

Which of the following is used for adding perspective background images for each section?(a) .bg1(b) .parallax(c) .static(d) .sectionThe question was posed to me in final exam.Enquiry is from Sliding Doors & Clipped Sliding Doors in chapter Layout & Images of CSS

Answer»

Correct option is (a) .bg1

To explain: .bg1, .bg2 adds the RESPECTIVE background images for each SECTION, we can use IMG tag ALSO, .parallax adds an ::after pseudo-element with the background image and transforms needed for the parallax effect.

19.

Which of the following position is based on the user’s scroll position?(a) fixed(b) sticky(c) relative(d) staticThis question was posed to me during an internship interview.The doubt is from Sliding Doors & Clipped Sliding Doors topic in section Layout & Images of CSS

Answer» RIGHT option is (b) STICKY

For EXPLANATION: An element with position: sticky, is positioned on the USER’s scroll position. A sticky element TOGGLES between relative and fixed, depending on scroll position, It is positioned relative until a given offset position is met in the viewport, then it “sticks” in place.
20.

Which class is used for setting perspective and scroll properties for the page?(a) .wrapper(b) .section(c) .static(d) .parallaxI had been asked this question during an interview.I'm obligated to ask this question of Sliding Doors & Clipped Sliding Doors in portion Layout & Images of CSS

Answer»

The correct answer is (a) .WRAPPER

For EXPLANATION I would SAY: .wrapper sets the perspective and SCROLL properties for the whole page, .section is for size, DISPLAY and text properties, mostly not relevant to parallax effect, .static add a background to a section, just for demonstration.

21.

Which of the following does not support the “:hover” pseudoclass?(a) IE 6(b) Chrome(c) Opera(d) SafariI got this question in an interview for internship.My question is taken from Sliding Doors & Clipped Sliding Doors in section Layout & Images of CSS

Answer»

The correct option is (a) IE 6

Explanation: IE 6 does not support the “:hover” pseudoclass on elements other than ANCHOR tags. To get hover WORK in IE6, we CREATE a CLASS that duplicates the :hover styles, and then script a function to toggle that class on/off.

22.

What should be added to create a horizontal menu?(a) pure-menu-horizontal(b) pure-menu-selected(c) pure-menu-has-children(d) pure-menu-scrollableThe question was asked during an interview.My doubt is from Shadowy Styles, Multiple Backgrounds, CSS Pop-Ups & Menus in division Layout & Images of CSS

Answer»

Right answer is (a) pure-MENU-horizontal

For EXPLANATION I would say: For creating a horizontal menu, we add pure-menu-horizontal class NAME, we can mark a SELECTED LIST element by adding pure-menu-selected class to the list element, to create a scrollable horizontal menu, we add pure-menu-scrollable class name.

23.

Which of the following name should be added to mark a link as disabled?(a) responsive horizontal-to-vertical menu(b) pure-menu-disabled(c) pure-menu-selected(d) responsive vertical menuThis question was addressed to me in a national level competition.My doubt is from Shadowy Styles, Multiple Backgrounds, CSS Pop-Ups & Menus in portion Layout & Images of CSS

Answer» RIGHT choice is (b) pure-menu-DISABLED

For EXPLANATION I WOULD say: To mark a link as disabled we add an element with pure-menu-disabled class name, responsive vertical menu collapses behind a hamburger, responsive horizontal-to-vertical-menu, slides out of view.
24.

Which of the following will give a minimalist entrance effect on hover?(a) “flappy” buttons(b) material design(c) linear pop-up(d) SVG & jQuery pop-up animationI have been asked this question in an online interview.My doubt is from Shadowy Styles, Multiple Backgrounds, CSS Pop-Ups & Menus in chapter Layout & Images of CSS

Answer»

Right choice is (c) LINEAR pop-up

The explanation: A MINIMALIST yet charming entrance effect on HOVER is shown by linear pop-up, a distinguishable pop-up with beautiful entrance effect and “flappy” buttons are shown by “flappy” buttons, a MATERIAL design comes with a fade-in animation in material design style.

25.

Which of the following will display a speech bubble pop-up?(a) pop-up question form(b) cartoon pop-up(c) modal animation physics(d) overlay pop-upThe question was posed to me in homework.This question is from Shadowy Styles, Multiple Backgrounds, CSS Pop-Ups & Menus topic in portion Layout & Images of CSS

Answer»

The correct option is (B) CARTOON pop-up

For explanation I would SAY: cartoon pop-up shows a speech bubble pop-up that fades in once hovered in the circle, a pop-up question form that SMOOTHLY appears once clicked a button, in modal animation physics a transition animation inspired by the menu pop-ups in Super Mario 3D.

26.

Which of the following will show a pop-up window that breaks into pieces once clicked?(a) click and break it(b) 3D movement effect(c) blurred background(d) left bottom cornerThis question was addressed to me during an interview.My question is taken from Shadowy Styles, Multiple Backgrounds, CSS Pop-Ups & Menus topic in division Layout & Images of CSS

Answer»

The correct option is (a) click and BREAK it

Best explanation: A pop-up window that breaks into PIECES once clicked is called click and break it, in 3D movement effect a 3D message made with CSS3 and jQuery that FOLLOWS user’s mouse movements will be shown.

27.

What scales the background image as large as possible?(a) contain(b) cover(c) size(d) resizeThe question was asked in an interview.My enquiry is from Shadowy Styles, Multiple Backgrounds, CSS Pop-Ups & Menus topic in chapter Layout & Images of CSS

Answer»

Correct answer is (a) contain

Best explanation: The contain KEYWORD scales the background image to be as large as possible but both its width and its height must FIT inside the CONTENT area. As such depending on the proportions of the background image and background POSITIONING area, there may be some areas of background which are not covered by the background image.

28.

Which property specifies the painting area of the background?(a) background-clip(b) background-image(c) background-size(d) background-originThis question was posed to me in quiz.The above asked question is from Shadowy Styles, Multiple Backgrounds, CSS Pop-Ups & Menus topic in portion Layout & Images of CSS

Answer»

The CORRECT ANSWER is (a) background-clip

Explanation: The CSS background-clip property specifies the painting area of the background, the property takes THREE DIFFERENT values, border-box-, padding-box, CONTENT-box. In content-box the background is painted within the content box.

29.

Which of the following comes with a smooth full screen overlay effect?(a) Overlay pop-up(b) Conformation pop-up(c) Welcome pop-up(d) Cartoon pop-upThis question was addressed to me in unit test.This is a very interesting question from Shadowy Styles, Multiple Backgrounds, CSS Pop-Ups & Menus topic in portion Layout & Images of CSS

Answer»

The correct answer is (a) OVERLAY pop-up

The explanation is: Overlay pop-up comes with a smooth full screen overlay effect, CONFORMATION pop-up comes with a full screen overlay effect and nice transition ANIMATION, welcome pop-up is a pop-up with nice animation effect.

30.

Which property specifies where the background image is positioned?(a) background-size(b) background-origin(c) background-image(d) background-clipThis question was posed to me during an online exam.My question is taken from Shadowy Styles, Multiple Backgrounds, CSS Pop-Ups & Menus topic in chapter Layout & Images of CSS

Answer»

Right option is (b) background-origin

Easiest explanation: The CSS background-origin property SPECIFIES where the background image is positioned. This property takes three DIFFERENT values NAMELY border-box, padding-box, content-box. In content-box the background images start from the upper left corner of the content.

31.

What changes the shadow from an outer shadow?(a) inset(b) initial(c) inherit(d) spreadThe question was posed to me in unit test.The query is from Shadowy Styles, Multiple Backgrounds, CSS Pop-Ups & Menus in division Layout & Images of CSS

Answer»

The correct choice is (a) inset

To EXPLAIN: inset is an OPTIONAL value, it changes the shadow from an outer shadow (OUTSET) to an inner shadow, INITIAL sets this property to its default value, inherit inherits this property from its parent element.

32.

Which of the following is used for spread radius?(a) blur(b) spread(c) color(d) v-offsetThe question was posed to me in an international level competition.Enquiry is from Shadowy Styles, Multiple Backgrounds, CSS Pop-Ups & Menus topic in chapter Layout & Images of CSS

Answer»

The correct ANSWER is (b) spread

For explanation I would say: BLUR is an optional value, it SETS the spread radius. A positive value INCREASES the size of the shadow, a negative value decreases the size of the shadow. For blur radius we set the value blur, the higher the number, the more blurred the shadow will be spread.

33.

Which of the following is set for horizontal offset of the shadow?(a) h-offset(b) v-offset(c) none(d) blurThe question was posed to me in an interview.The question is from Shadowy Styles, Multiple Backgrounds, CSS Pop-Ups & Menus in chapter Layout & Images of CSS

Answer»

Correct CHOICE is (a) h-offset

The explanation: h-offset is the REQUIRED value, it is for the horizontal offset of the shadow. A positive value PUTS the shadow on the RIGHT side of the box, a negative value puts the shadow on the LEFT side of the box.

34.

@page is not supported by _________________(a) chrome(b) opera(c) IE(d) FirefoxThe question was asked in exam.Origin of the question is Server Specific CSS in chapter Layout & Images of CSS

Answer»

Correct answer is (a) CHROME

Explanation: @PAGE is not SUPPORTED by chrome, page-break-after, page-break-before, page-break-inside, perspective, perspective-origin, pointer-events, POSITION are all supported by all the browsers.

35.

outline-offset is not supported by _______________(a) IE(b) Chrome(c) Opera(d) FirefoxI have been asked this question in an international level competition.The doubt is from Server Specific CSS topic in division Layout & Images of CSS

Answer»

The correct OPTION is (a) IE

The EXPLANATION is: OUTLINE-offset is not supported by Internet Explorer, outline, outline-color, outline-style, outline-width are supported by all the BROWSERS.

36.

A grid is not supported by _______________(a) IE(b) Chrome(c) Opera(d) FirefoxThis question was posed to me during an interview.This key question is from Server Specific CSS in section Layout & Images of CSS

Answer»

Correct answer is (a) IE

The explanation: GRID is not supported by INTERNET EXPLORER, grid-area, grid-auto-column, grid-column, grid-column-start, grid-column-end, grid-auto-row, grid-row-gap, grid-row-start is supported by all the BROWSERS.

37.

@font-feature-values are only supported in _______________(a) chrome(b) firefox(c) IE(d) OperaI got this question in a job interview.My doubt is from Server Specific CSS in section Layout & Images of CSS

Answer»

The CORRECT choice is (B) firefox

For explanation I would say: @font-feature-values are supported by Firefox only, font-kerning is supported by all the browsers, font-language-override is supported by firefox only, font-varient is supported by all the browsers.

38.

background-blend-mode is not supported by?(a) IE(b) Opera(c) Chrome(d) FirefoxThis question was addressed to me by my school teacher while I was bunking the class.Question is taken from Server Specific CSS in section Layout & Images of CSS

Answer»

The correct answer is (a) IE

To explain I WOULD SAY: BACKGROUND-blend-mode is not supported by INTERNET Explorer, background-clip, background-color, background-image, background-origin, background-position, background, background-repeat, background-size are supported by all the browsers.

39.

Which selects all visited links?(a) :valid(b) :visited(c) :target(d) :selectionI have been asked this question by my school teacher while I was bunking the class.My question is taken from Server Specific CSS in chapter Layout & Images of CSS

Answer» RIGHT answer is (b) :visited

To EXPLAIN: :visited selects all visited LINKS, :valid selects all input elements with a valid value, :target selects the current active # element, ::selection selects the portion of an element that is selected by a USER.
40.

Which selects document’s root element?(a) :required(b) :root(c) ::selection(d) :out-of-rangeThe question was posed to me in an interview for internship.My question is based upon Server Specific CSS topic in section Layout & Images of CSS

Answer» RIGHT choice is (b) :root

Explanation: :root selects the DOCUMENT’s root element, ::selection selects the portion of an element that is selected by a user, :required selects input elements with “required” ATTRIBUTE specified, :out-of-range selects input elements with a VALUE OUTSIDE a specified range.
41.

Which of the following will select every element that is the only child of its parent?(a) :only-child(b) :only-of-type(c) :optional(d) :out-of-rangeI have been asked this question in an online quiz.This intriguing question originated from Server Specific CSS topic in portion Layout & Images of CSS

Answer»

The CORRECT option is (a) :only-child

Easy explanation: :only-child SELECTS EVERY

element that is the only child of its parent, :only-of-type selects every

element that is the only child of its parent, :optional selects input ELEMENTS with no “required” attribute.

42.

Which selects all unvisited links?(a) :last-child(b) :not(selector)(c) :link(d) :nth-child(n)The question was posed to me in my homework.The above asked question is from Server Specific CSS topic in division Layout & Images of CSS

Answer»

The correct option is (C) :link

Easy EXPLANATION: :link selects all unvisited links, :not(selector) selects EVERY element that is the SECOND child of its PARENT, :last-child selects every

element that is the last child of its parent.

43.

Which of the following selects input element which has focus?(a) :in-range(b) :hover(c) :focus(d) :invalidThe question was posed to me during an online interview.My doubt is from Server Specific CSS topic in chapter Layout & Images of CSS

Answer»

Right choice is (c) :focus

The EXPLANATION is: :focus selects input element which has focus, :hover selects links on MOUSE hover, :in-RANGE selects input elements with a value within a SPECIFIED range, :INVALID selects all input elements with an invalid value.

44.

Which of the following selects every element that has no children?(a) :empty(b) :enabled(c) :checked(d) :disabledThe question was asked during an online interview.My doubt stems from Server Specific CSS topic in section Layout & Images of CSS

Answer» CORRECT option is (a) :empty

For explanation I would say: :empty selects every

element that has no children including TEXT NODES, :CHECKED selects every checked element, :disabled selects every disabled element, :enabled selects every enabled element.

45.

Which of the following selects every element whose href attribute value contains the given substring?(a) attribute$=value(b) attribute*=value(c) attribute^=value(d) attribute|=valueThe question was posed to me in exam.I would like to ask this question from Server Specific CSS in division Layout & Images of CSS

Answer»

Right option is (b) attribute*=VALUE

To explain I would say: attribute*=value SELECTS every element whose HREF attribute value contains the given substring, attribute$=value selects every element whose href attribute value ENDS with the given href, attribute^=value selects every element element whose href attribute value begins with “https”.

46.

Which of the following selects all elements with a target attribute?(a) attribute(b) attribute=value(c) attribute~=value(d) attribute^=valueThis question was posed to me during an interview.This interesting question is from Server Specific CSS topic in chapter Layout & Images of CSS

Answer»

The correct CHOICE is (a) attribute

For explanation: attribute SELECTS all elements with a target attribute, attribute=value selects all elements for the GIVEN target, attribute~=value selects all elements with a title attribute CONTAINING the given title, attribute=value selects all elements with a lang attribute value starting with the given lang.

47.

Which of the following will select all elements within the class?(a) .class(b) #id(c) element(d) element>elementThe question was asked during a job interview.Question is from Server Specific CSS topic in division Layout & Images of CSS

Answer»

The correct option is (a) .CLASS

For EXPLANATION I would say: .class SELECTS all elements WITHIN the given class, #id selects the element within the given id, element>element selects all

elements where PARENT is

element, element selects all

elements.

48.

Which of the following selects all elements and all elements?(a) element,element(b) element+element(c) element,element(d) element elementThis question was addressed to me in final exam.My doubt stems from Server Specific CSS in chapter Layout & Images of CSS

Answer»

Correct answer is (C) element,element

The explanation: element,element selects all

elements and all

elements, element element selects all

elements INSIDE

elements, element>element selects all

elements where parent is a

element, element+element selects all

elements that are PLACED immediately after

element.
49.

Which of the following will specify minimum width of display area?(a) min-resolution(b) min-width(c) monochrome(d) overflow-blockThe question was asked in semester exam.I'd like to ask this question from Print Styles and their Development in chapter Layout & Images of CSS

Answer»

Right OPTION is (b) min-WIDTH

For explanation I would SAY: The minimum width of a display area such as browser window is specified by min-width, min-resolution specify the minimum resolution of the device, USING dpi or DPCM, monochrome specify the number of bits per “color” on a monochrome device.

50.

Which of the following specify the approximate range of colors?(a) max-color-index(b) max-color(c) color-index(d) color-gamutThe question was posed to me in unit test.I want to ask this question from Print Styles and their Development in chapter Layout & Images of CSS

Answer»

Correct CHOICE is (d) color-gamut

The explanation is: The approximate RANGE of colors that are supported by user agent and output DEVICE is specified by color-gamut, the number of colors the device can display is specified by color-index, the maximum number of BITS PER color component for the output device is specified by max-color.