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.
http://www.talisman.org/~username/
All web documents for the given user will be sought in that user's home directory, subdirectory "www" (as in /home/username/www ).
cd
ls -lF
www is a directory)drwxr-sr-x 5 erlkonig world 2048 Oct 27 12:21 www/
mkdir www
ls -lF
www directory with:
cd www
echo Hello World > hello.html
http://www.talisman.org/~username/hello.htmlBy way of example, combining my login name of erlkonig with a subfile name of resume.html would yield a URL (Uniform Resource Locator) of:
http://www.talisman.org/~erlkonig/
http://www.talisman.org/~username/By default, a dynamic index of your
www directory
is shown, unless a file or link named index.html
already exists, 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.
To make a symbolic link named index.html pointing
to a main page named Main.html, the following command
could be used:
ln -s Main.html index.html
http://www.talisman.org/web/homepages.shtml
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, also has an annotated version to which it should be compared. Have a look.
Note that the ...comments in the annotated version are not actually in the beginner.html file, in which they would have have obscured the fact the HTML isn't really as much work to write as it might appear from the annotated version.
Another example of an HTML document is provided by the HTML Level 2 specification.
Send comments to www@talisman.org