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 ?
HTML
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
<html>
<head>
<link rel="stylesheet" href="style.css">
</head>
<body>
<p > I'm a paragraph; what color am I?</p>
<div class = "central">
<p class ="central">
I'm another paragraph, what color am I ?
</p>
<ul>
<li> I'm a list item;what color am I? </li>
</ul>
<p>
I'm another paragraph, what color am I ?
</p>
</div>
</body>
<html>
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
Solved in 2 steps