HTML Tutorial
The Code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- A webpage about dogs and cats! -->
<html>
<head>
<title>Cats and Dogs</title>
</head>
<body>
<h1>Cats or Dogs?</h1>
<table>
<th align="left">The Prrr-fect Pet</th>
<th> </th>
<th align="left">Man's Best Friend</th>
<tr>
<td><img src="./graphics/cat.jpg" height="150px" /></td>
<td></td>
<td><img src="./graphics/dog.jpg" height="150px" /></td>
</tr>
<tr>
<td>
<dl>
<dt>A Cat is...</dt>
<dd>playful.</dd>
<dd>clean and quiet.</dd>
<dd>a warm furry blanket on your lap.</dd>
</dl>
</td>
<td></td>
<td>
<dl>
<dt>A Dog is...</dt>
<dd>enthusiastic.</dd>
<dd>always there for you.</dd>
<dd>a friend on walks or runs.</dd>
</dl>
</td>
</tr>
<tr>
<td>
<hr />
<p>A <b>Cat</b> is clearly the better pet choice.</p>
<p>To see about getting a dog of your own, find out more
<a href="http://www.terrific-cats.com/">here</a>.</p>
</td>
<td></td>
<td>
<hr />
<p>How could you not choose a <b>Dog</b>? </p>
<p>To see about getting a dog of your own, find out more
<a href="http://www.terrificpets.com/">here</a>.</p>
</td>
</tr>
</table>
</body>
</html>
<< Back to Introduction <<