About Web Design Book Chapter 4 - Example 4-4
Here is the code for example 4-4 in the About Web Design book.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Dogs and Their Toys</title>
<meta name="description" content="Great dog toys that your dogs will love and information about dogs." />
<meta name="keywords" content="dogs, dog toys, canines, information about dogs, dog help" />
</head>
<body>
<h1>Dogs and Their Toys</h1>
<p>
My two dogs would like to share their special knowledge of dog toys. In the course of their life they have tried out numerous dog toys and found that some work better than others.
</p>
<h2>Who Are the Dogs?</h2>
<ul>
<li><strong>Shasta</strong> - a 6-year-old <em>mutt</em></li>
<li><strong>McKinley</strong> - a 1-year-old <em>border collie</em></li>
</ul>
<p> <img src="http://z.about.com/d/webdesign/1/0/H/2/1/mckinley.jpg" alt="McKinley" width="200" height="150" />
McKinley says:</p>
<blockquote>I like dog toys that are soft and easy to rip up. They call me the Doctor, because I like to surgically remove the squeakers.</blockquote>
<p> <img src="http://z.about.com/d/webdesign/1/0/G/2/1/shasta.jpg" alt="Shasta" width="200" height="150" />
Shasta says:</p>
<blockquote>My favorite dog toy is probably McKinley, because any toy I play with he steals from me. But if I had to choose, I'd pick the big fluffy balls.</blockquote>
<h3>Shasta's Favorite Toys</h3>
<ol>
<li>McKinley</li>
<li>Large fuzzy stuffed balls</li>
<li>Frisbees</li>
</ol>
<h3>McKinley's Favorite Toys</h3>
<ol>
<li>Soft squeak toys</li>
<li>Any toy Shasta has</li>
<li>Squeaky tennis balls</li>
</ol>
</body>
</html>
Here's what the page looks like.
Jennifer Kyrnin
