Week 2 - Quiz Document

Based on the following styles and markup, describe which styles will apply to the two identified portions of markup.

<html>
<head>
<title>Test Document</title>
<style type="text/css">
<!--
body {
color: black;
background: white;
font-style: normal;
font-variant: small-caps;
font-size: 12px;
line-height: 16px;
font-family: times, serif;
}
div#main {
color: blue;
background: white;
border: 2px solid green;
font-weight: normal;
font-family: arial, sans-serif;
}
p {
color: black;
background: yellow;
font-weight: bold;
}
div#main > p {
color: red;
}
ol li {
color: green;
background: orange;
font-style: italic;
}
li {
color: black;
background: white;
font-style: normal;
}
a {
font-weight: bold;
}
-->
</style>
</head>

<body>
<div id="main">
<p class="normal">This is normal text.  This is a normal <a href="normal.html">link</a> within normal text.</p>
[1]<p>Three important points to remember:</p>
<ol>
<li>Always be alert.</li>
<li>Never let 'em see you sweat.</li>
[2]<li>Don't worry, be happy!</li>
</ol>
<p class="footer">E-mail me at <a href="mailto:scott@sdm.com">scott@sdm.com</a>.  Copyright © 2003 by <a href="http://www.sdm.com">sdm.com</a>, all rights reserved.</p>
</div>
</body>
</html>

back to quiz