In: Computer Science
BEFORE html
<html>
<head>
<link rel="stylesheet"
type="text/css" href="mystyle98_d.css">
</head>
<body>
<p>
BEFORE html
<html>
<head>
<link rel="stylesheet"
type="text/css" href="mystyle98_d.css">
</head>
<body>
<p>
I'm a paragraph, what color am I ?
</p>
<ul>
<li id = "fix"> I'm a list
item;what color am I? </li>
</ul>
<div class = "central1">
<p class ="above">
I'm a paragraph; what color am I?
</p>
<p>
I'm another paragraph, what color am I ?
</p>
<ol>
<li id = "fix1"> I'm another list
item;what color am I? </li>
</ol>
</div>
</body>
</html>
create a CSS with the
following changes:
- Make the outer list text color blue , and make the
outer (non div) paragraph blue, and the div inner list element pink
also inside the div element make the first inner paragraph green,
and in the div element the second paragraph blue, so that in
order: blue-blue-green-blue-pink
- As a separate case, make the text elements of all the
div elements red , except the second div paragraph blue and italic
and also make the outer non div paragraph cyan so that in
order: cyan-black-red-blue-red
- As a separate case, create css to make all the text
elements of the HTML page alternate between blue,
Red , green,blue,red ( in that
order)
- As another separate case , create css to make the
non-div paragraph red, and the div inner paragraphs cyan, so that
in order: red-black-cyan-cyan-black