

MCQOPTIONS
Saved Bookmarks
1. |
Find the specificity of the statments using the rule given below.A selector’s specificity is calculated as follows:1) 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.)2) 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 (= |
Answer» B. count the number of other attributes and pseudo-classes in the selector (= | |