Links The tag (anchor) is used to create a link from your document to another document, either on the same machine as your current document or elsewhere on the Internet. An example is shown below:

This document contains an anchor so that you can click on it to go to another Web site. For example, you might want to check out a computer from Dell Corporation

Note that the CITE tag usually italicizes text. If you want to be sure that you get italics, you can use the and tags to italicize what comes between them.

Note that the tag is for a citation (here "Dell Corporation"). After HREF= comes the URL (universal resource locator, i.e. Web address) for the document to go to when the user clicks on the words between the and tags, that is, clicks on "Dell Corporation". After the HREF= one can also put the name of another file on your own Web server, such as mypage.html, or a filename preceded by a path. Pathnames to files can be relative or absolute. An absolute pathname starts with the root directory for the web server. For example, you might use CS 321. This link sends the user to the cs321.html file within the carlsond directory within the root directory for the web server. On the other hand, the following uses a relative pathname: Internships. This links to the internships.html file within the intern directory, which must be within the current directory. So, if the page containing this last link is NOT in the same directory as the intern subdirectory, this link will not work. Note, too, that with some web servers the default extension may be .htm instead of .html. Unix and Linux web servers usually use the .html, while Windows web servers use .htm for HTML files. (Windows servers may also use the .asp extension when using Active Server Pages.) URLs can also use PC pathnames, but this is of limited usefulness. General users on the Internet have no access to these PC drives (at least, not by drive letter), so this is more useful just for an individual looking at a file on a solitary PC. To include a drive letter in a PC pathname you must replace the usual colon with a vertical bar. This would give something like the following: HREF="/d|/web/files/menu.htm". Here is another example, which is used as a sample Web page for new students. A newer version of it is available under the URL: http://cis.stvincent.edu/carlsond/sample.html Student X's Home Page

Student X's Home Page

An Example of a Smaller Header

An Example of a Smaller Header Yet

Here is a collection of lines of information.
With a break to separate one line from the next.
Delete any of this stuff that you don't want to use.

Here is where you place a paragraph of information. The user's browser will automatically wrap the text to fill out a paragraph (unless you use the break tag, as shown above, to explicitly indicate line breaks). You can also include links to places such as Saint Vincent College or Computing & Information Science Department.

The following is an unordered list:

Author: student X
Email address: student_X@stvincent.edu
Last updated: September 5, 2000
Opinions expressed are those of the author, and not necessarily those of the department or college.

Practice Exercise: Make 2 HTML files. The first should contain a link to the second. The second file should contain a link to the first. Name the files first.html and second.html. From the first page a user can click on something to go to the second file for more detail. From the second file the user can click on something to go back to the first page. The two files should be written using one of the Linux editors, such as ted or emacs, and placed in your web directory (like /www/carlsond). Make sure the permissions are right and that the links work. More on lists: You already saw how to use the