rtod2
asked on
Change background color
How do I change to the background color using the #f9fc05 color code. The assignment says to use the style="background-color:co lor number" property, but the syntax in the code pasted below is incorrect. Please advise.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Lab 2-1</title>
</head>
<body>
<a style="background-color:#f9fc05"></a>
<div>
<img src="fooddrivelogo.gif" />
<div>
<h1><center>Wanted: Community Food Drive Volunteers</center></h1>
<p>Please Help!</p>
<h2>The most needed non-perishable foods are:</h2>
<ul>
<li>Canned vegatables, fruit, meats, and fish</li>
<li>Pasta and tomato sauce</li>
<li>Cereal or oatmeal</li>
<li>Powedered milk</li>
<ul>
</body>
</html>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER