Gce Model Questions Vol1 2018 Computer Studies Question 36
Practice objective / multiple choice question 36 from the 2018 Gce Model Questions Vol1 Computer Studies examination.
Consider the following HTML element and CSS rules:
HTML:
CSS:
1. .nav { color: blue; }
2. #header { color: red; }
3. div { color: green; }
4. .main { color: orange; }
5. #header.nav { color: purple; }
According to the CSS cascade and specificity, what colour will be applied to the element when the page is rendered?
Answer Options
A.
red
B.
green
Correct Answer
C.
purple
D.
blue
Correct Answer
C
Correct Option:
purple
About This Question
This is
Gce Model Questions Vol1
2018
Computer Studies
Question 36.
It is one of the
objective
questions from the
2018
Gce Model Questions Vol1
Computer Studies
examination.
Difficulty level:
Hard
.
Answer Options
About This Question
This is Gce Model Questions Vol1 2018 Computer Studies Question 36. It is one of the objective questions from the 2018 Gce Model Questions Vol1 Computer Studies examination.
Difficulty level: Hard .
Master the Exam!
You've seen a preview, but there are thousands more questions plus AI tutor to break down complex solutions.