Please, anybody help me with html codes advice?

Olga

New member
I need to link CSS to HTML text so it will change the colors.
<body>
<h1>Lists</h1>
<p>TEXT.</p>
<ol>

<li>number 1</li>
<li>number 2</li>
<li>number 3</li>
</ol>
<p>TEXT.</p>
<ul>

<li>list 1</li>
<li>list 2</li>
<li>list 3</li>
<li>list 4</li>
</ul>
<p><b>one</b>, two</p>

<table>
<caption>
list
</caption>
<tr>
<td></td>
<th>description</th>
<th>Users</th>
</tr>
<tr>
<th>color</th>

<td>taste</td>

<td></td>
</tr>
<tr>
<th>text</th>
<td>text</td>
<td>text</td>
</tr>
<tr>
<th>TEXT1</th>
<td>TEXT2</td>
<td>TEXT3</td>
</tr>
</table>
</body>
</html>
Place CSS rules in your new stylesheet file so that:
a.Your unordered list becomes blue except for the third item, which will be green.
b.Your ordered list becomes orange except for the second item, which will be purple.
c.The second paragraph that was added in Assignment 2 will be silver, except for the italicized part, which will be red.
d.The third paragraph that was added in Assignment 2 will be aqua except for the bold part, which will be maroon.
e.The rest of the display will be in black, as in was in Assignment 2.
f.Change the bullets in the unordered list to square.
g.Change the bullets in the ordered list to lower case alphabetical letters.
h.Set the first letter in the paragraph in (c) above larger than the rest of the letters so that the first letter sticks up above the first line.
i.Drop the initial letter of the paragraph in (d) above.
 
Back
Top