

MCQOPTIONS
Saved Bookmarks
This section includes 14 Mcqs, each offering curated multiple-choice questions to sharpen your Computer Science knowledge and support exam preparation. Choose a topic below to get started.
1. |
Find the specificity of this ” style=”” “. |
A. | specificity = 0,0,0,1 |
B. | specificity = 0,0,1,0 |
C. | specificity = 0,1,0,0 |
D. | specificity = 1,0,0,0 |
Answer» E. | |
2. |
Find the specificity of this “#x34y”. |
A. | specificity = 0,0,0,1 |
B. | specificity = 0,0,1,0 |
C. | specificity = 0,1,0,0 |
D. | specificity = 1,0,0,0 |
Answer» D. specificity = 1,0,0,0 | |
3. |
Find the specificity of this “li.red.leve”. |
A. | specificity = 2,0,0,1 |
B. | specificity = 0,0,1,1 |
C. | specificity = 0,2,0,1 |
D. | specificity = 0,0,2,1 |
Answer» E. | |
4. |
Find the specificity of this “ul ol li.red”. |
A. | specificity = 0,0,3,1 |
B. | specificity = 0,0,1,3 |
C. | specificity = 1,1,1,1 |
D. | specificity = 1,2,2,1 |
Answer» C. specificity = 1,1,1,1 | |
5. |
Find the specificity of this “ul ol+li”. |
A. | specificity = 0,0,2,1 |
B. | specificity = 0,2,1,1 |
C. | specificity = 0,1,1,1 |
D. | specificity = 0,0,0,3 |
Answer» E. | |
6. |
Find the specificity of this “li:first-line”. |
A. | specificity = 0,0,1,1 |
B. | specificity = 0,0,0,2 |
C. | specificity = 0,1,0,1 |
D. | specificity = 1,0,0,1 |
Answer» C. specificity = 0,1,0,1 | |
7. |
Find the specificity of this ” ul li”. |
A. | specificity = 0,0,0,0 |
B. | specificity = 0,0,1,2 |
C. | specificity = 0,0,0,2 |
D. | specificity = 2,0,0,0 |
Answer» D. specificity = 2,0,0,0 | |
8. |
Find the specificity of this “li”. |
A. | specificity = 0,0,0,1 |
B. | specificity = 0,0,1,1 |
C. | specificity = 0,1,1,1 |
D. | specificity = 1,1,1,1 |
Answer» B. specificity = 0,0,1,1 | |
9. |
Find the specificity of this “*”. |
A. | specificity = 0,0,0,0 |
B. | specificity = 0,0,0,1 |
C. | specificity = 0,0,1,0 |
D. | specificity = 1,0,0,0 |
Answer» B. specificity = 0,0,0,1 | |
10. |
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 (= | |
11. |
FIND_THE_SPECIFICITY_OF_THIS_‚ÄÖ√Ñ√∂‚ÀÖ√Ë‚ÀÖ‚À´LI.RED.LEVE‚ÄÖ√Ñ√∂‚ÀÖ√Ë‚ÀÖŒÄ.?$# |
A. | specificity = 2,0,0,1 |
B. | specificity = 0,0,1,1 |
C. | specificity = 0,2,0,1 |
D. | specificity = 0,0,2,1 |
Answer» D. specificity = 0,0,2,1 | |
12. |
Find_the_specificity_of_this_“#x34y”.$# |
A. | specificity = 0,0,0,1 |
B. | specificity = 0,0,1,0 |
C. | specificity = 0,1,0,0 |
D. | specificity = 1,0,0,0 |
Answer» E. | |
13. |
Find the specificity of this “ul ol li.red”.# |
A. | specificity = 0,0,3,1 |
B. | specificity = 0,0,1,3 |
C. | specificity = 1,1,1,1 |
D. | specificity = 1,2,2,1 |
Answer» B. specificity = 0,0,1,3 | |
14. |
Find the specificity of this “*”.$ |
A. | specificity = 0,0,0,0 |
B. | specificity = 0,0,0,1 |
C. | specificity = 0,0,1,0 |
D. | specificity = 1,0,0,0 |
Answer» B. specificity = 0,0,0,1 | |