Critical references are available on both HTML and VRML including the language specifications, FAQs, and beginners' guides.
One can create a homepage on either the PC or Unix side of the network. This document only discusses the Unix side in any detail, although references for the PC side may be available.
The examples below use username to represent the account name; this should be replaced by the actual user account name throughout.
The webpage of a given user is accessible through a URL (a Uniform Resource Locator), constructed from the document type, the webserver hostname, and the username. Note the tilde "~" before the username and the trailing slash "/" after.
All web documents for the given user will be sought in that user's home directory, subdirectory "www" (as in /home/username/www ).
0 lrwxrwxrwx 1 username username 46 2009-02-18 18:17 www -> /on/airgiodlamh/fs/d1/home-www/username/public/The unusual link above, named www, redirects all attempts to use it to /on/airgiodlamh/fs/d1/home-www/username/public/, where the real webpage area is maintained.
echo Hello World > hello.html
http://www.talisman.org/~username/hello.htmlBy way of example, combining my login name of erlkonig with a subdirectory (subfolder) name of writings and a file in that subdirectory of programmer-beekeeping.html would yield a URL (Uniform Resource Locator) of:
http://www.talisman.org/~erlkonig/writings/programmer-beekeeping.htmlWhich would be stored in: /home/erlkonig/www/writings/programmer-beekeeping.html
http://www.talisman.org/~username/By default, a dynamic index of your
wwwdirectory is shown, unless a file (or link) named
index.htmlalready exists (various other extensions are also looked for, like .shtml and .php, for example), in which case its HTML contents are displayed instead. This can be used to make a default, non-indexing page for a directory, incidentally hiding whatever is actually there.
The overall canonical form of a homepage follows certain guidelines of HTML design which will make your document more likely to be displayed correctly on the many disparate HTML viewers with may be used. Angle-bracketed markups (like "<body>") are characteristic of HTML. Notice that HTML markups are case-independent, so it does not matter if they're spelled in upper, lower, or mixed case, although the last is considered strange. Indentation is also generally ignored.
The basic form is below. All of your content goes in the two places where you see "...".
<html> <head> ... </head> <body> ... </body> </html>Look for this skeleton in the examples.
A completed webpage (minus commentary) has been provided as beginner.html. Go take a look at it, and while you're there, use the menu item View/Source (or just View) to see the HTML source, then come back here.
Now look at the Example Homepage, which you should have just perused, and ideally should have showing in another window. Use Control-U or the View->Source menu item to see the source code.
Send comments to email@example.com