|
<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>
</body>
</html>
You now have a page that can be viewed on an 800 X 600
pixel screen.
We will now add the main table which will be similar to
the previous table but will hold your main text and have
a left hand column for your page links.
Here is a description of the markup tags you will use.
| <p> </p> |
Defines a new paragraph with a space below
the line of text. |
| <br> |
Defines a line break like a carriage return
with no space between the lines of text. |
| |
|
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>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>
</td>
</tr>
</table>
</body>
</html>
Copy this code into an editor. Name the page index.htm
and save to the Folder:
C:\My Web1 If this folder contains a page called index.htm
you can overwrite the old page.
Using the Save As command in the File Menu of the editor
save three copies of this page to:
C:\My Web1\pages. Name them page1.htm, page2.htm and page3.htm.
Previous Page
Go to Lesson 4
|