Question: Given the following html, which choice below is the incorrect css to make the first paragraph green, the second paragraph red and the third paragraph
Given the following html, which choice below is the incorrect css to make the first paragraph green, the second paragraph red and the third paragraph blue
I'm a paragraph; what color am I?
I'm another paragraph, what color am I ? I'm another paragraph, what color am I ?
a.
p{color:green;}
div.central p{color:blue;}
div.central p.central{color:red;}
b.
body{color:green;}
div p{color:blue;}
p.central{color:red;}
c.
p{color:green;}
div.central p{color:blue;}
div p.central{color:red;}
d.
div.central{ color:blue;}
p{color:green;}
.central p{color:red;}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
