CISW 320 Mark Lund
1. This large heading color and background-color is controlled with inline CSS
2. This body background-color and text color is controlled by embedded styles in the page header.
3. CSS code for an external style sheet that configures text to be brown, 14px in size and in Arial, Verdana, or a sans-serif font:
body { color: brown;
height: 14px;
font-family: Arial, Verdana, sans-serif;
}
4. CSS code for an external style sheet that configures a class called new, that is bold and italic.
.new { font-weight: bold;
font-style: italic;
}
5. The HTML and CSS code for an embedded style sheet that configures links without underlines; background color of white; text color of black; is in Arial, Helvetica, or a sans-serif font; and has a class called new that is bold and italic.
<style type="text/css">
body { text-decoration: none;
background-color: white;
color: black;
font-family: Arial, Helvetica, sans-serif;
}
.new { font-weight: bold;
font-style: italic;
}
</style>
6. The CSS code for an external style sheet that configures a page background color of #FFF8DC; has a text color of #000099; is in Arial, Helvetica, or a sans-serif font; and has an id called new that is bold and italic.
body { background-color: #FFF8DC;
color: #000099;
font-family: Arial, Helvetica, sans-serif;
}
#new { font-weight: bold;
font-style: italic;
}