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 a list item;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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!