|
<html>
<head>
<title>My Home Page</title>
</head>
<body>
<table width="760")
<tr valign="middle">
<td width="140" height="40">image/logo
</td>
<td width="620" height="40" align="center">This
is my new home page
</td>
</tr>
</table>
<table width="760")
<tr valign="top">
<td width="140" height="20">
<p>Home Page</p>
<p>Page 1</p>
<p>Page 2</p>
<p>Page 3</p>
</td>
<td width="620" height="20" align="left">
<p>This is the start of the main table of the web
page and you can add as much text as you feel is necessary
to promote your page.</p><br><br>
</td>
</tr>
</table>
</body>
</html>
Open page1.htm into an editor. Delete paragraph <p>Page
1</p> from your code and write the links to Home Page,
Page 2 and Page 3.
Here is a description of the markup tags you will use.
| <a> </a> |
Defines link when used in conjunction
with the href attribute. |
| href= |
Defines the destination of a link. This
can be an address of another page in your site or a
page on a remote site on the internet. |
Note the changes to the code.
<html>
<head>
<title>My Home Page</title>
</head>
<body>
<table width="760")
<tr valign="middle">
<td width="140" height="40">image/logo
</td>
<td width="620" height="40" align="center">This
is my new home page
</td>
</tr>
</table>
<table width="760")
<tr valign="top">
<td width="140" height="20">
<p><a href="../index.htm">Home Page</a></p>
<p><a href="page2.htm">Page 2</a></p>
<p><a href="page3.htm">Page 3</a></p>
</td>
<td width="620" height="20" align="left">
<p>This is the start of the main table of the web
page and you can add as much text as you feel is necessary
to promote your page.</p><br><br>
</td>
</tr>
</table>
</body>
</html>
Name this page page1.htm and save to: C:\My Web1\pages.
Repeat for pages page2.htm and page3.htm.
Previous Page
Go to Lesson 6
|