![]() Home Contact Us |
Note:The term Home Page has come to mean two different things. Some people refer to a page that describes a person or institution as its "Home Page." Others think a "Home Page" is a page you create for your own use that contains a list of links to the sites you visit frequently. The page you are creating is of the first type.
Chances are you have probably completed most of this step already. This document assumes you are logged into the console of a UNIX or Windows workstation in the Statistics department, and that you are running Mozilla to view this page. If you are using some other browser or you aren't logged into a CS computer, some of the instructions below won't work and might not make sense, and you will have to move or be prepared to improvise.
You will probably want to read both this document and the page you are editing at the same time. To make that easier, create a second browser window:
In addition to a browser, you should have a window with a shell available because you will be typing a few commands. Finally, you should have your favorite text editor in a fourth window. This document doesn't assume any HTML-specific editor modes; you will be editing the file directly. Make sure you can switch between the windows easily.
If you have never put a document on the web, you will need to create your publicly accessible WWW directory.
This directory is where you will keep all of your web documents. It has a special place in the namespace of our web server.
This file contains a WWW page for you to personalize.
<HTML>
<HEAD>
<TITLE>Felix's Home Page</TITLE>
<HEAD>
<BODY>
Don't change anything yet.
<TITLE>Felix's Home Page</TITLE>. If you look at the top of the browser window, you'll see that the string
in the <TITLE> container is displayed there. Different browsers
use the title in different ways. The title should be short and summarize the
contents of the document. In this case, you can replace "Felix" with your
own name. After you have made this change, save the file without exiting your
editor and press the Reload button in your other browser
window. The new title should appear. From now on, whenever you make changes
to the file, you can save it in your editor and reload it into your browser
to see the result.
<BODY> and </BODY>
tags. The body is where you put your text, entities, and most of the
elements. The sample file has a number of elements you might want to use in
your own page. As you look at the sample page in your editor and in your web browser, it
should become clear what the different elements do in whatever
browser you are using right now. Different browsers have different
interpretations of the tags. That's important, so I'll say it again:
Note:Different browsers have different interpretations of the tags. Things will look different if you move between browsers
Here's a list of the different tags, and common interpretations of them.
<STRONG> <EM> <H1> <P> <UL> <LI> <UL>).
<A> <IMG> There are a number of elements not included in the sample document. Here are some of the more common ones.
<H2> through <H6> <H1>, but create progressivly
lower-level headings, for subsections, subsubsections, etc. <OL> <UL>, but creates an ordered
(numbered) list <HR> <BR> Two of the included tags, <A> and <IMG>, had
attributes. The <A> container was used to create a
link to another document, which was specified by the HREF="/personalhomepageinfo.htm"
attribute. In this case, that document creates a document with the result. Note that the path (URL) to
the document starts with a "/". When you link from one document to another
in the Web, you can refer to the new location relative to the current one.
In this case, we could omit the http://www.stat.wisc.edu
because both documents are on the same server.
The <IMG> tag, as we said before, is used to include a
picture. The picture should be either a JPEG or GIF file. the SRC
attribute is used to specify the location of the picture. The filenames of
JPEG files must end end in either .jpeg or .jpg
and GIF filenames must end in the extension .gif. If you had a
GIF file called me.gif and you wanted to include it in your
document, you could put it in the same directory the document is
located, and use the tag <IMG SRC="me.gif" ALT="A picture of me!">.
The ALT attribute specifies a string to be printed if a browser
cannot display pictures.
Now that you know what the elements do, you should figure out what you want to say (the hard part), and then use the tags and text to create "look" you want. Remember that, although you can preview what you create in your web browser as you go along, the "look" in Mozilla or may not be the "look" in a different browser.
See Also:
The web server maps this directory to http://www.stat.wisc.edu/~<username>/ (where <username> is, of course, your username) If the html directory does not exist in your public directory, create it, and the web server will look there for your web pages.
| Statistics Home |
| UW Home Search UW Biostatistics MS in Biometry L&S Grad School Learn@UW Libraries |