PooriPadhai Logo Home Courses Online Tool Online Test Study Material Contest Blog

CSS Specificity and Importance Online Test



Instructions:
  • Total number of questions : 10.
  • Time alloted : 10 minutes.
  • Each question carry 1 mark.
  • No Negative marks
  • DO NOT refresh the page.
  • All the best :-)




What You Will Learn in

This Specificity and Importance Test helps you to Boost your Knowledge in CSS Language. In this test, we will cover the topics in the form of questions like

  • count 1 if the declaration is from is a ‘style’ attribute rather than a rule with a selector, 0 otherwise (= a) (In HTML, values of an element’s 'style' attribute are style sheet rules. These rules have no selectors, so a=1, b=0, c=0, and d=0.)
  • count the number of ID attributes in the selector (= b)
  • count the number of other attributes and pseudo-classes in the selector (= c)
  • count the number of element names and pseudo-elements in the selector (= d)