-
Create a directory SecondWeb
with subfolder images.
-
Download two image file from these links below into the
images subfolder.
-
Create the document webdesign.html
in the SecondWeb folder with this starting content:
<html>
<head>
<title>My Website v2</title>
<style>
<!--
td {
border: solid thin black;
}
-->
</style>
</head>
<body>
<table summary="" class="main">
<tr>
<td class="left">
NAVIGATION TABLE
</td>
<td class="right">
<p class="center">
<img src="images/header.gif" alt="My Website" height="100px" width="450px"/>
</p>
CONTENT TABLE
</td>
</tr>
</table>
</body>
</html>
-
Add these style rules:
body {
background-color: cornsilk;
font-family: arial, sans-serif;
padding: 5px;
}
/* the font-size property, unlike font-family, doesn't inherit
automatically from body to table */
body, table {
font-size: 11pt;
}
table.main {
width: 100%;
}
/* by default, valign everything to the top */
table.main tr {
vertical-align: top;
}
-
Replace NAVIGATION TABLE by this table:
<table class="nav">
<tr><td><a href="index.html">Home</a></td></tr>
<tr><td><b href="webdesign.html">Web Design</b></td></tr>
<tr><td><a href="movies.html">Favorite Movies</a></td></tr>
<tr><td><a href="hobbies.html">My Hobbies</a></td></tr>
<tr><td><a href="songs.html">Top 10 Songs</a></td></tr>
</table>
-
Replace CONTENT TABLE by this table:
<table class="content">
<tr>
<td colspan="100" class="center">
<h2>What I've Learned in Web Design</h2>
</td>
</tr>
<tr class="columns">
<td>
<h3>HTML</h3>
HTML stands for
<b>H</b>yper<b>T</b>ext <b>M</b>arkup <b>L</b>anguage.
It was invented in 1989 by Tim Berns-Lee.
<p>
<em>Hypertext</em> refers
to the ability to move among information in many files in
non-linear way by activing <em>links</em> to other files.
</p>
</td>
<td>
<h3>Lists</h3>
Lists are ways of organizing information in a hierarchical way according to
a sequence of elements (numbered or not) along with their subsequences.
Lists are usually thought of as combinations of the elements:
<tt>ul</tt> (unordered list),
<tt>ol</tt> (ordered list),
and
<tt>li</tt> (list item).
</td>
<td>
<h3>Graphical Images</h3>
This is Anderson Hall, taken from the south side:
<p class="center">
<img src="images/anderson.jpg" alt="Anderson" width="120px" height="160px" />
</p>
at the entrance closest to where my Web Design class is held.
</td>
</tr>
</table>
We have all the content in. Here is a diagram of the overall page:
© Robert M. Kline