HTML and CSS Reference
In-Depth Information
body {
background-color: #000066;
color: #CCCCCC;
font-family: Arial,sans-serif;
}
h1 { background-color: #FFFFFF;
color: #000066;
}
.footer { font-size: 80%;
font-style: italic;
}
</style>
</head>
<body>
<div>
<h1>Trillium Media Design</h1>
<br />
<p>Home <a href="about.html">About</a>
<a href="services.html">Services</a>
</p>
</div>
<p>Our professional staff takes pride in its working relationship
with our clients by offering personalized services that listen to
their needs, develop their target areas, and incorporate these
items into a well presented Web site that works.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div>
<p class="footer">Contact <a
href="mailto:web@trilliumtechnologies.com">
web@trilliumtechnologies.com</a><br />
Copyright &copy; 2011 Trillium Media Design</p>
</div>
</body>
</html>
2. Fill in the Missing Code. This Web page should be configured so that the back-
ground and text colors have good contrast. The <h2> tag should use Arial. Some
CSS properties and values, indicated by "_" (underscore), are missing. Some
XHTML tags, indicated by <_> , are missing. Fill in the missing code.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Trillium Media Design</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<style type="text/css">
body { background-color: #0066CC;
color: "_" ;
}
h2 { "_": "_"
}
Search WWH ::




Custom Search