| CIT 597 Quiz 1: XHTML and CSS | |
| Fall 2008, David Matuszek | Name_________________________________________ |
Hello World!" The first couple of lines are provided
for you.<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Hello World</title>
</head>
<body>
<p>Hello World!</p>
</body>
</html>
Notes: The <title> element is required, and the body content must be wrapped in a <p> element or a header (<h1>, <h2>, .. </h6>) element.
Three of:
color:red to the contents of any tag that has the
class="hot" attribute.
..hot { color: red; } // period is required, semicolon is optional
color:red to every <em>
element that occurs within a paragraph.p em { color: red; }
background-color of all <code>
elements to yellow.code { color: yellow; }
V8 is Google's new open source JavaScript engine.