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. |
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,0This question was posed to me during an online exam.This question is from Specificity and Importance topic in division CSS Selectors & Files of CSS |
|
Answer» The CORRECT OPTION is (d) SPECIFICITY = 1,0,0,0 |
|
| 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,0This question was addressed to me in examination.My doubt is from Specificity and Importance in portion CSS Selectors & Files of CSS |
|
Answer» CORRECT CHOICE is (C) SPECIFICITY = 0,1,0,0 Explanation: Self-explainatory. |
|
| 3. |
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,1I got this question in an interview for job.I'm obligated to ask this question of Specificity and Importance in portion CSS Selectors & Files of CSS |
|
Answer» RIGHT CHOICE is (B) SPECIFICITY = 0,0,1,3 The EXPLANATION: Self-explainatory. |
|
| 4. |
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,1I got this question in an interview.This key question is from Specificity and Importance in section CSS Selectors & Files of CSS |
|
Answer» The CORRECT OPTION is (d) SPECIFICITY = 0,0,2,1 |
|
| 5. |
Find the specificity of this “ul ol li.red”.(a) specificity = 0,0,1,3(b) specificity = 0,0,0,4(c) specificity = 0,1,2,1(d) specificity = 1,1,1,1The question was posed to me in an interview.Asked question is from Specificity and Importance topic in portion CSS Selectors & Files of CSS |
|
Answer» CORRECT OPTION is (a) SPECIFICITY = 0,0,1,3 Explanation: Self-explainatory. |
|
| 6. |
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,3This question was posed to me in exam.My question is based upon Specificity and Importance topic in chapter CSS Selectors & Files of CSS |
|
Answer» RIGHT OPTION is (d) SPECIFICITY = 0,0,0,3 To ELABORATE: Self-explainatory. |
|
| 7. |
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,1This question was posed to me in an interview.I'm obligated to ask this question of Specificity and Importance topic in portion CSS Selectors & Files of CSS |
|
Answer» CORRECT ANSWER is (B) SPECIFICITY = 0,0,0,2 Best EXPLANATION: Self-explainatory. |
|
| 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,1I had been asked this question in an interview for internship.My query is from Specificity and Importance in section CSS Selectors & Files of CSS |
|
Answer» RIGHT ANSWER is (a) SPECIFICITY = 0,0,0,1 To ELABORATE: Self-explainatory. |
|
| 9. |
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,0The question was posed to me in exam.I'm obligated to ask this question of Specificity and Importance topic in section CSS Selectors & Files of CSS |
|
Answer» RIGHT OPTION is (C) SPECIFICITY = 0,0,0,2 For EXPLANATION: Self-explainatory. |
|
| 10. |
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,0I have been asked this question in an international level competition.Question is from Specificity and Importance topic in portion CSS Selectors & Files of CSS |
|
Answer» The CORRECT CHOICE is (a) SPECIFICITY = 0,0,0,0 |
|
| 11. |
The __________ property specifies the type of positioning method used for an element.(a) align(b) float(c) position(d) paddingThis question was addressed to me in an interview for job.Question is taken from Applying Style to a Document topic in section CSS Selectors & Files of CSS |
|
Answer» RIGHT choice is (c) position To explain I would SAY: None. |
|
| 12. |
A ___________ is used to define a special state of an element.(a) pseudo-tag(b) pseudo-element(c) pseudo-id(d) pseudo-classThe question was posed to me in examination.This interesting question is from Applying Style to a Document in chapter CSS Selectors & Files of CSS |
|
Answer» Correct ANSWER is (d) pseudo-class |
|
| 13. |
Which of the following CSS list properties is/are correct?(a) Set different list item markers for ordered lists(b) Set different list item markers for unordered lists(c) Set an image as the list item marker(d) All of the mentionedThe question was asked in semester exam.The doubt is from Applying Style to a Document in portion CSS Selectors & Files of CSS |
|
Answer» CORRECT CHOICE is (d) All of the mentioned To EXPLAIN I would say: None. |
|
| 14. |
The _______property is used to set the color of the text.(a) pallet(b) colour(c) color(d) text-decorationThis question was posed to me in semester exam.My question comes from Applying Style to a Document in section CSS Selectors & Files of CSS |
|
Answer» The CORRECT option is (c) color |
|
| 15. |
Which of the following is the correct way to applying style to a document?(a) Use an external style sheet, either by importing it or by linking to it(b) Directly embed a document-wide style in the head element of the document(c) Set an inline style rule using the style attribute directly on an element(d) All of the mentionedThis question was posed to me during an interview for a job.Asked question is from Applying Style to a Document topic in section CSS Selectors & Files of CSS |
|
Answer» CORRECT ANSWER is (d) All of the mentioned The BEST I can EXPLAIN: NONE. |
|