Some Hints:
You can take a look at a template
to see an example for a home page. You can also see the
source codes of this document. You
can save this file and make it your own by entering your own information.
You can also take a look at the
List of Commonly Used html Tags. and
If you have uploaded your files into the cunix system (into the
"public_html" folder/directory), you can view your page by entering your
URL.
A typical URL address is: http://www.machinename.domain/~userid
If you are making changes in the cunix system, then you
should (Login, Changing directory to public_html, and opening your
document in pico).
You can edit your page(s) as many times as you want, and
use a browser (e.g. Netscape, or Mosaic) to view it to see how it looks.
(The first file you create should be named: index.html)
To get started writing "html", all you need is something to edit your "html" files, and one browser to view them (You don't have to be connected to a network in order to view the pages you have created).
Some Helpful Documents About the Internet
First, change the current directory you are in to the directory you have
just created (public_html). Then, you type your file in pico (pico index.html). After creating a file you need to make it world-accessible (chmod).
You make your file(s) world-accessible only once. Once you make a document world-accessible, it will stay that way until you change it.
Once you are done with typing, you can run your browser (e.g. Netscape) and open your file you have just typed (Go to "file" on the menu and select "Open File" or "Open File in Browser").
Without closing your browser, you can go back to your file and make changes-add more and go back to your browser and click on "Reload" button. The browser will read the new version of your file. You can do this as many times as you want. You can edit it and preview and edit and preview until you get it right.
Your personal URL at CU is:http://www.columbia.edu/~youruserid
If you want to edit your html document(s), you need to type changes/additions into your file (preview it in Netscape) and then uploaded it to your cunix account.
(Note: When editing/saving, and viewing your page back and forth, you
you might have to "Reload" it (in Netscape) in order to see the latest
changes you have made.)
href="file.html"
This file is located in the same (current) directory/folder. href="../file.html"
This file is located in the directory/folder one level up from the current directory/folder.href="files/file.html"
This file is located in the directory/folder called "files". (The "files" directory/folder is located in the same (current) directory/folder.href="http://www.columbia.edu/~sss31/index.html
This file is located at Columbia University's web server under the "sss31" directory/folder.
To link your own documents, you should use relative path names instead of absolute path names (whenever possible). It is easier to maintain "html" documents with relative path names. Absolute path names are not portable. If you specify your links as absolute path names and you move your files elsewhere, or rename a directory, then all your links will brake and you will have to edit your "html" files to fix them.
< a href = "filename (URL) ">
Hot Spot - Clickable Text </a >
Ex: < a href="help2.html" > My Second Help Page </a >
< img src = "imagename (URL) " >
Ex: < img src="../graphics/ball-green.gif "> ==>
< a href="imagename (URL)" >
Clickable Text < /a >
Ex: < a href="../graphics/globe.gif" >
The Place Where I Live </a >
< a href= "URL" > Clickable Text < /a >
Ex: < a href=http://www.columbia.edu/~sss31/sadi.html >
Sadi's Personal Page </a >
< A href="mailto: mail address" >
Clickable Text < /a >
Ex: < A href="mailto:[email protected]" >
Send Mail to Sadi
</a >
Control - O = Save (WriteOut) a file.
Control - X = Exit pico.
Control - K = Delete line(s) at the cursor position.
Control - U = Undelete last deleted line(s) at the cursor position.