InterviewSolution
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() |
|
| 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() |
|
| 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() |
|
| 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() |
|
| 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() |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 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 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 |
|
| 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 |
|
| 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 |
|
| 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 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 |
|
| 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 |
|
| 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 |
|