How to make a local web page:

Web files are not stored in home directories anymore, they are links to /n/www/username. This really shouldn't matter to you though...what happens when the system sets you up is it creates a directory called public_html that is linked to /n/www/username. But you just put stuff in the public_html file as though it were really yours.

To create a web page, do the following: On ect-unix.ecst.csuchico.edu (you can rlogin to this machine once you are logged on to any other ecst machine or you can connect from your home machine using PuTTy) run websetup

websetup -c

Will setup a web directory, and create a simple web page. This will tell you other possible options for the command websetup.

This provides what is on the page when someone accesses the URL:

http://www.ecst.csuchico.edu/~username

This also creates (in your own home directory) a public_html directory where you can make files and subdirectories which can allow for hypertext links to info and subpages. Each subdirectory under this public_html directory should have its own index.html if you want it to be used as a link from another page (or else users see only a listing of the files in the directory). The default page created above is defined in the file index.html in the public_html directory.

The most simplest page of this sort is the HelloWorld.html file that I gave to you in class.

The minimul web page must have the <html> <head><title> <body> and their end tags

If you wanted to show both the applet running and allow access to the source code, you would do something like this:

the <hr> is "horizontal rule" makes a nice line between parts of the page

href's can be files (with full directory name if not in same directory or they can be URL locations too)

For example, I could say:

<a href = "http://www.ncsa.uiuc.edu/General/Internet/WWW/HTMLPrimerAll.html"> A beginner's Guide to HTML </a> to get the link below

A beginner's Guide to HTML

For more information on setting up web pages look at this link