Your First Web Page
CS 297
Jan. 9, 1997
Work through these exercises. There is nothing that needs to be handed in.
You will, however, need to have some pages by Friday when we practice
transferring files from you N: drive to the Web server. (We will
take some time Friday for you to finish this.)
These instructions are a little sketchy. (I hope they're not too sketchy.)
I've done this on purpose. Some of you need just a little bit of direction
to get started and will be able to help those around you. Others will have
a question or two and a few might need more help. Just call me over if you
get stuck, or if you don't think your system is doing what it's supposed to.
- Start DOS/Windows. You will not be able to edit Web pages from OS/2.
- Make a folder (directory) for your set of Web pages:
- Open an MS-DOS window.
- Type the command N:.
- Your command prompt should have
N:\
in it at this point.
- Type the command md web to make the folder.
- Type the command exit to quit the MS-DOS window.
This is very important: be careful to store your web pages, images,
etc., into this folder on your N: drive. When you create a new page,
use Save as to save it and make sure it's being saved in the
correct drive and folder.
- Start Netscape Navigator.
- Open the editor. From Navigator open the File menu. Choose
New Document, then choose Blank. You should have two
windows now: your original browser window and the editor window.
- Start using the editor. Notes:
- The editor's formatting features are similar to those of any other
GUI word processor.
- You can cut-and-paste text from one window into the editor.
- You can drag an image from the browser into the editor.
- I want you to put two things on your first page:
- The words ``My First Web Page,'' centered at the top of the page,
using the Heading 1 style.
- A link to a second page. The link text should be ``Here's a
link.'' Highlight the text and use the link button on the toolbar to
make the link point to the file second.htm.
Save your first page as index.htm. You must use this name.
- Create a new, second web page using the filename second.htm.
Put an image on this page:
- Using your browser, go to Westminster's home page.
- Drag the large image into the page you're editing.
- Center the image, using the formatting buttons.
- Save the image.
- Let's see if it all worked. Go back to the browser and open the
File menu. Choose Open File... and open the file
index.htm you just created. Test your link to make sure it works and make
sure the second page image is loaded by the browser.
- If you want to begin experimenting further, go right ahead.
Thomas P. Kelliher
Thu Jan 9 10:31:02 EST 1997
Tom Kelliher