Chapter 2
Exercise 2.1
<!DOCTYPE html>
<!-- e2_1.html
This is a solution to Exercise 2.1
-->
<html lang = "en">
<head>
<title> Exercise 2.1 </title>
<meta charset = "utf-8" />
</head>
<body>
<h2> Ruper B. Baggins </h2>
<p>
1321 Causeway Circle <br />
Middle, Earth <br />
<br />
</p>
<hr />
<h3> Bush Watcher </h3>
<p>
<em> Forest Keepers, Limited </em> <br />
14 Cranberry Way <br />
Middle, Earth <br />
<strong> (no web site yet) </strong>
</p>
</body>
</html>
Exercise 2.3
<!DOCTYPE html">
<!-- e2_3.html
This is a solution to Exercise 2.3
-->
<html lang = "en">
<head>
<title> Exercise 2.3 </title>
<meta charset = "utf-8" />
</head>
<body>
1
,<h2> Ruper B. Baggins </h2>
<p>
1321 Causeway Circle <br />
Middle, Earth <br />
<br /><br />
<a href = "e2_31.html"> Mr. Baggins' Background </a>
</p>
<hr />
<h3> Bush Watcher </h3>
<p>
<em> Forest Keepers, Limited </em> <br />
14 Cranberry Way <br />
Middle, Earth <br />
<strong> (no web site yet) </strong>
</p>
</body>
</html>
<!DOCTYPE html>
<!-- e2_31.html
This is part of the solution to Exercise 2.3
(The second document for the background info)
-->
<html lang = "en">
<head>
<title> Exercise 2.3 (background) </title>
<meta charset = "utf-8" />
</head>
<body>
<p>
Although we share the same family name, I am not in any way
related to the famous (or is it infamous) adventurer, Bilbo.
I have a lovely wife, Elvira, and two grown children, Max
and Miriam. Max has chosen to follow me in my profession,
which is described below. Miriam is a beekeeper for the town
bookkeeper, who keeps bees as a second job.
</p>
<p>
I am employed by Forest Keepers, Limited. My job, as I understand
it, is to keep an eye on the 4 acres of wild cranberries that
grow in the swamp at the edge of the village forest. I am required
to file a daily report, in triplicate, on the condition of the
cranberry bushes. To accomplish my task, I walk by and inspect
every cranberry bush in the swamp every workday. My employer provides
me with wading boots for my job. I pick up the boots at the office
every weekday morning and turn them back in, after a thorough
cleaning, after each workday.
</p>
</body>
</html>
Exercise 2.4
<!DOCTYPE html>
2
,<!-- e2_4.html
A solution to Exercise 2.4 - an unordered list
-->
<html lang = "en">
<head>
<title> Unordered List </title>
<meta charset = "utf-8" />
</head>
<body>
<h3> Grocery List </h3>
<ul>
<li> milk - 2%, 2 gallons </li>
<li> bread - butter top wheat </li>
<li> cheddar cheese - sharp, 1 lb. </li>
<li> soup - vegetable beef, 3 cans </li>
<li> hamburger - 80% fat free, 2 lbs. </li>
<li> orange juice - not from concentrate, 1/2 gallon </li>
<li> eggs - large, 1 dozen </li>
</ul>
</body>
</html>
Exercise 2.8
<!DOCTYPE html>
<!-- e2_8.html
A solution to Exercise 2.8 - a nested, ordered list
-->
<html lang = "en">
<head>
<title> An Ordered List </title>
<meta charset = "utf-8" />
</head>
<body>
<h3> My Uncles, Aunts, and Cousins </h3>
<ol>
<li> Violet Vinelli (my mother) </li>
<li> Frederick Vinelli
<ol>
<li> Mary Vinelli </li>
<li> Betty Ann Boop </li>
<li> Bob Vinelli </li>
<li> Roger Vinelli </li>
</ol>
</li>
<li> Maxine Robinson
<ol>
<li> John Robinson </li>
<li> Patty Robinson </li>
<li> Lucille Robinson </li>
</ol>
</li>
<li> Thomas Vinelli
<ol>
<li> Albert Vinelli </li>
3
, <li> Alison MacKinsey </li>
<li> Alton Vinelli </li>
</ol>
</li>
</ol>
<ol>
<li> Albert Alphonso (my father) </li>
<li> Herbert Alphonso
<ol>
<li> Louise Alphonso </li>
<li> Pam Alphonso </li>
<li> Fred Alphonso </li>
</ol>
</li>
<li> Ann Marie Predicate
<ol>
<li> George Predicate </li>
<li> Michael Predicate </li>
<li> Darcie Predicate </li>
</ol>
</li>
<li> Ferdinand Alphonso
<ol>
<li> Noah Alphonso </li>
<li> Leah Alphonso </li>
<li> Jo Alphonso </li>
</ol>
</li>
</ol>
</body>
</html>
Exercise 2.9
<!DOCTYPE html>
<!-- e2_9.html
A solution to Exercise 2.9 - a simple table
-->
<html lang = "en">
<head>
<title> A simple table </title>
<meta charset = "utf-8" />
</head>
<body>
<table>
<caption> Trees </caption>
<tr>
<th> </th>
<th> Pine </th>
<th> Maple </th>
<th> Oak </th>
<th> Fir </th>
</tr>
<tr>
4