Your First Web Page
CS 29
Mar. 11, 1997
- Start Windows 95 and login. We will not be telnetting to
unix1 today.
- Make a folder (directory) for your set of Web pages:
- Open an MS-DOS window. (Open the Start menu, choose
Programs, then choose the DOS program.
- A DOS command shell window should pop-up. Work in that 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 Gold.
- 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 a 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 page.
- 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.
- Some resources on HTML:
-
Creating your first Web page.
-
A Beginner's Guide to HTML.
-
The Bare Bones Guide to HTML.
-
Guidelines for Web Document Style & Design
(These links are directly available from the copy of this handout on the
class home page.)
- Now, start working on your own home page. You can have a look at
CS297 Student Home Pages
for some ideas of what to put on your home page.
Thomas P. Kelliher
Sun Mar 9 13:47:07 EST 1997
Tom Kelliher