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. |
The ____________ represents the result of the cascade: it is the declared value that wins the cascade.(a) specified Value(b) actual value(c) computed value(d) cascaded valueThe question was asked in an interview.Question is from Inheritance and Cascade topic in division CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» CORRECT OPTION is (d) cascaded value The EXPLANATION: Self-explainatory. |
|
| 2. |
The CSS cascade assigns a weight to each style rule. State true or false.(a) True(b) FalseI got this question in an international level competition.Question is from Inheritance and Cascade topic in division CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» RIGHT ANSWER is (a) True Best EXPLANATION: Self-explainatory. |
|
| 3. |
The _______________ is the result of taking the computed value and completing any remaining calculations to make it the absolute theoretical value used in the layout of the document.(a) cascaded value(b) declared value(c) used value(d) none of the mentionedI have been asked this question during an online interview.I need to ask this question from Inheritance and Cascade in division CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» RIGHT CHOICE is (C) USED value Explanation: Self-explainatory. |
|
| 4. |
The _________________ is the result of resolving the specified value.(a) cascaded value(b) computed value(c) specified value(d) declared valueI have been asked this question during an online exam.My query is from Inheritance and Cascade topic in chapter CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» The CORRECT OPTION is (B) COMPUTED value |
|
| 5. |
Which of the following generate “virtual” rules representing their effects when running?(a) DOM’s(b) !important(c) CSS Animations(d) InheritanceI had been asked this question in an online interview.Origin of the question is Inheritance and Cascade in chapter CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» The CORRECT CHOICE is (C) CSS Animations |
|
| 6. |
Which of the following property is a shorthand that resets all CSS properties?(a) reset(b) inital(c) all(d) deleteThe question was posed to me in quiz.The query is from Inheritance and Cascade in section CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» The CORRECT OPTION is (C) all |
|
| 7. |
Which of the following rule allows users to import style rules from other style sheets?(a) @media(b) @important(c) @import(d) @styleThis question was addressed to me in an online quiz.Question is taken from Inheritance and Cascade topic in chapter CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» Correct option is (c) @import |
|
| 8. |
Which of the following property is used to define how nested items are rendered in a 3-D space?(a) transform-style(b) transform(c) transform-origin(d) transform-3DI have been asked this question by my college professor while I was bunking the class.I need to ask this question from Inheritance and Cascade topic in portion CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» The correct answer is (a) transform-style |
|
| 9. |
Which of the following Cascading order has the highest precedence?(a) user agent declarations(b) user normal declarations(c) author normal declarations(d) author important declarationsThis question was posed to me during an online exam.The query is from Inheritance and Cascade topic in division CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» Right ANSWER is (a) USER AGENT declarations |
|
| 10. |
Which of the following are different origins of style sheets?(a) author(b) user(c) user agent(d) all of the mentionedI had been asked this question in exam.This intriguing question originated from Inheritance and Cascade topic in chapter CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» Correct answer is (d) all of the mentioned |
|
| 11. |
Which of the following Microsoft-introduced property defines the position of underlining set by the text-decoration property?(a) text-underline(b) text-underline-origin(c) text-underline-position(d) none of the mentionedThe question was asked in final exam.The origin of the question is Precise Positioning of Elements topic in division CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» The CORRECT ANSWER is (d) NONE of the mentioned |
|
| 12. |
Which of the following CSS Property Defines the area of an absolutely positioned element that remains visible?(a) clamp(b) clip(c) visibility(d) staticThe question was posed to me in an international level competition.Origin of the question is Precise Positioning of Elements in section CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» The CORRECT OPTION is (B) clip |
|
| 13. |
Which of the following CSS Property specifies the position of the mask?(a) mask(b) mask-position(c) mask-origin(d) none of the mentionedThe question was asked by my college director while I was bunking the class.The doubt is from Precise Positioning of Elements in section CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» CORRECT CHOICE is (b) mask-position The BEST EXPLANATION: SYNTAX: mask-position: xpos ypos. |
|
| 14. |
Which of the following CSS Property sets the stacking order of positioned elements?(a) x-index(b) y-index(c) z-index(d) all of the mentionedThe question was posed to me in unit test.My doubt is from Precise Positioning of Elements topic in section CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» CORRECT ANSWER is (C) z-index Easy EXPLANATION: Self-explainatory. |
|
| 15. |
Which of the following CSS Property Specifies the left offset of a positioned element?(a) right(b) left(c) bottom(d) upI got this question in an internship interview.I'm obligated to ask this question of Precise Positioning of Elements topic in division CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» CORRECT CHOICE is (B) left Best EXPLANATION: Self-explainatory. |
|
| 16. |
Which of the following CSS Property specifies the top offset of a positioned element?(a) top(b) up(c) reverse(d) fixThe question was posed to me by my college professor while I was bunking the class.Question is from Precise Positioning of Elements topic in portion CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» CORRECT OPTION is (a) top The BEST I can EXPLAIN: Self-explainatory. |
|
| 17. |
Which of the following CSS Property controls how an element is positioned?(a) position(b) set(c) static(d) fixI have been asked this question in an online interview.My question is based upon Precise Positioning of Elements in section CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» Correct answer is (a) position |
|
| 18. |
@keyframes rule is used to define the properties that will control the audio/video formats. State true or false.(a) True(b) FalseThe question was asked in an interview for internship.My enquiry is from CSS Keyframes topic in chapter CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» Correct option is (b) False |
|
| 19. |
Which of the following property specifies the direction in which a marquee should move?(a) marquee(b) marquee-direction(c) marquee-time(d) none of the mentionedI had been asked this question during an online exam.My doubt is from CSS Keyframes in section CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» RIGHT OPTION is (B) marquee-direction The BEST EXPLANATION: Self-explainatory. |
|
| 20. |
Which of the following property specifies whether an element is an accelerator indicator or not?(a) animation(b) accelerator(c) scan(d) none of the mentionedThe question was asked in an online quiz.My question is from CSS Keyframes in portion CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» The CORRECT CHOICE is (B) accelerator |
|
| 21. |
Which of the following property specifies the number of times an animation should run?(a) animation-repeat(b) animation-count(c) animation-iteration-count(d) all of the mentionedI had been asked this question during an online exam.This intriguing question comes from CSS Keyframes topic in portion CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» The CORRECT option is (C) animation-iteration-count |
|
| 22. |
Which of the following property defines when the animation will start. It allows an animation to begin execution some time after it is applied?(a) animation-stop(b) animation-delay(c) animation-start(d) animation-controlThe question was posed to me by my college director while I was bunking the class.This interesting question is from CSS Keyframes topic in chapter CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» The CORRECT answer is (b) animation-delay |
|
| 23. |
Which of the following CSS property defines whether the animation is running or paused?(a) animation-pause-state(b) animation-state(c) animation-play-state(d) all of the mentionedI had been asked this question by my school principal while I was bunking the class.My doubt is from CSS Keyframes topic in division CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» CORRECT CHOICE is (C) animation-play-state The BEST EXPLANATION: Self-explainatory. |
|
| 24. |
Which of the following CSS Property sets the pace of the transition to the next keyframe, as described in the previous section?(a) animation-timing-function(b) animation-pace-function(c) animation-transition-function(d) none of the mentionedThe question was posed to me in examination.Question is from CSS Keyframes topic in division CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» RIGHT ANSWER is (a) animation-timing-function The BEST I can EXPLAIN: Self-explainatory. |
|
| 25. |
Which of the following CSS Property defines which property values to apply to the element before the animation begins (if delayed) and after it ends?(a) animation-play(b) animation-delay(c) animation-fill-mode(d) animation-play-stateThe question was asked by my school teacher while I was bunking the class.Origin of the question is CSS Keyframes in division CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» The CORRECT ANSWER is (C) animation-fill-mode |
|
| 26. |
Which of the following CSS Property determines whether an animation should run in reverse on some cycles?(a) animation(b) animation-run(c) animation-repeat(d) none of the mentionedI had been asked this question during a job interview.Asked question is from CSS Keyframes in portion CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» Right answer is (d) none of the mentioned |
|
| 27. |
Which of the following property allows elements to be offset, rotated, scaled, and skewed in a variety of different ways?(a) transform-style(b) transform(c) transition(d) transform-originI got this question during an internship interview.I'd like to ask this question from Floating Elements for Layout topic in section CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» The CORRECT CHOICE is (b) transform |
|
| 28. |
Which of the following CSS Property selects an animation defined in an @keyframes rule and applies it to the element?(a) animation(b) animation-name(c) animation-element(d) none of the mentionedThe question was asked by my college professor while I was bunking the class.The doubt is from CSS Keyframes topic in division CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» The CORRECT OPTION is (B) animation-name |
|
| 29. |
The default value for the float property is right.State true or false.(a) True(b) FalseThis question was addressed to me in final exam.Query is from Floating Elements for Layout topic in portion CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» Right answer is (b) False |
|
| 30. |
Which of the following property is used to control the behavior of floating elements?(a) format(b) clean(c) clear(d) removeI had been asked this question in exam.Asked question is from Floating Elements for Layout topic in portion CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» The CORRECT OPTION is (C) clear |
|
| 31. |
Which of the following values are zccepted by the float Property?(a) left(b) right(c) none(d) all of the mentionedI had been asked this question in exam.The origin of the question is Floating Elements for Layout topic in chapter CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» RIGHT ANSWER is (d) all of the mentioned To EXPLAIN I WOULD SAY: Self-explainatory. |
|
| 32. |
Which of the following property is used to change the background in a table?(a) table-background(b) background(c) color(d) none of the mentionedI had been asked this question by my college director while I was bunking the class.Query is from Styling Tables topic in division CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» RIGHT CHOICE is (B) background Explanation: NONE. |
|
| 33. |
Which of the following property defines the width of each column in a multicolumn text flow?(a) width(b) columns(c) filter(d) column-widthI had been asked this question during an interview.Origin of the question is Implemented CSS3 and Browser-Specific in section CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» Right option is (d) column-width |
|
| 34. |
Which of the following property defines a relationship between bound elements(s) and some code or content?(a) behavior(b) anim(c) binding(d) none of the mentionedI got this question in an interview for internship.Query is from Implemented CSS3 and Browser-Specific topic in portion CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» RIGHT ANSWER is (C) binding Best EXPLANATION: NONE. |
|
| 35. |
Which of the following property is used to define the number of times an animation should play?(a) animation-direction(b) animation-iteration-count(c) animation(d) animation-timing-functionThe question was posed to me by my college professor while I was bunking the class.My question is based upon Implemented CSS3 and Browser-Specific topic in portion CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» The CORRECT ANSWER is (B) animation-iteration-count |
|
| 36. |
Which of the following property is used to define the animations that should be run?(a) animation-delay(b) animation-iteration-count(c) animation-duration(d) animation-nameThis question was posed to me by my school teacher while I was bunking the class.This key question is from Implemented CSS3 and Browser-Specific topic in section CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» CORRECT ANSWER is (d) animation-name To EXPLAIN: NONE. |
|
| 37. |
Which of the following property sets in a shorthand form any or all background properties?(a) font(b) background(c) background-color(d) background-positionThis question was posed to me during an online exam.My doubt stems from CSS1 and CSS 2.1 Properties topic in division CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» Correct option is (B) background |
|
| 38. |
An ___________ rule can be used to define style rules for multiple media types in a single embedded style sheet(a) @media(b) @charset(c) @font-face(d) None of the mentionedI got this question in unit test.The doubt is from Miscellaneous CSS Constructs topic in chapter CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» The CORRECT CHOICE is (a) @media |
|
| 39. |
An ___________ rule is used to define a page block for printed styles.(a) @important(b) @page(c) @css(d) @htmlThis question was posed to me in an online interview.The doubt is from Miscellaneous CSS Constructs in chapter CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» The CORRECT ANSWER is (b) @page |
|
| 40. |
A single _____________ rule can be used in an external sheet to define character set encoding of the style rules and values.(a) @media(b) @charset(c) @font-face(d) None of the mentionedThis question was posed to me during an interview.My doubt is from Miscellaneous CSS Constructs topic in chapter CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» The CORRECT ANSWER is (B) @charset |
|
| 41. |
Which of the following represents a comment?(a) /!– comments –!/(b) /! comments !/(c) /* comments */(d) None of the mentionedI had been asked this question during an interview for a job.My doubt stems from Miscellaneous CSS Constructs topic in chapter CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» The correct choice is (C) /* comments */ |
|
| 42. |
Which of the following measurement is relative to font-size of the root element?(a) rem(b) kd(c) rr(d) hxThis question was posed to me in class test.Asked question is from Measurements in CSS in section CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» The CORRECT CHOICE is (a) rem |
|
| 43. |
Which of the following measurement is relative to 1% of the height of the viewport?(a) ch(b) rem(c) %(d) vhI have been asked this question in class test.This interesting question is from Measurements in CSS in portion CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» CORRECT ANSWER is (d) vh To EXPLAIN: NONE. |
|
| 44. |
Which of the following measurement defines a measurement relative to a font’s x-height?(a) e(b) xh(c) ex(d) rxhThis question was addressed to me in an internship interview.The query is from Measurements in CSS topic in section CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» CORRECT option is (c) ex The EXPLANATION: Defines a measurement relative to a font’s X-height. The x-height is DETERMINED by the height of the font’s LOWERCASE letter x. |
|
| 45. |
Which of the following measurement is relative to 1percentage of the width of the viewport?(a) vw(b) vmax(c) vmin(d) chI have been asked this question in an online interview.This interesting question is from Measurements in CSS topic in chapter CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» CORRECT OPTION is (a) vw The EXPLANATION: NONE. |
|
| 46. |
Which of the following measurement is relative to 1percentage of viewport’s larger dimension?(a) vw(b) vmax(c) vmin(d) chThe question was posed to me during an internship interview.My enquiry is from Measurements in CSS topic in portion CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» RIGHT choice is (b) vmax For explanation I WOULD say: NONE. |
|
| 47. |
Which of the following measurementdefines a measurement in pixels?(a) px(b) in(c) em(d) ptThis question was posed to me during a job interview.I would like to ask this question from Measurements in CSS in section CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» The CORRECT CHOICE is (a) px |
|
| 48. |
Which of the following measurement defines a measurement in points?(a) px(b) in(c) em(d) ptThis question was posed to me at a job interview.The question is from Measurements in CSS topic in chapter CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» The correct ANSWER is (d) pt |
|
| 49. |
Which of the following measurement defines a measurement relative to the height of a font in em spaces?(a) px(b) in(c) em(d) ptThis question was addressed to me in final exam.The above asked question is from Measurements in CSS topic in section CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» The correct choice is (c) em |
|
| 50. |
Which of the following property sets the spacing between words?(a) display(b) white-space(c) sr(d) word-spacingThis question was addressed to me during an interview.I want to ask this question from Strings and Keywords topic in chapter CSS Properties, Elements, Functions & Tables of CSS |
|
Answer» RIGHT OPTION is (d) word-spacing To ELABORATE: SYNTAX: |
|