Math 171 Spring 2005, Lab 3 (double lab)

Due Tuesday, February 1, 11:59 P.M.

  1. HTML Links
  2. Overview
  3. Requirements
  4. Hints
  5. Extra Credit

Links

Top

Overview

Your goal for this lab is to create a basic web page that uses all the HTML elements you learned about in class. All HTML documents should be edited using ordinary plaintext editors, i.e. notepad in Windows or vi in UNIX. You do not need to submit anything via email, since I will be grading your web pages online. Once you have created your webpages, you will need to do the following in order to make sure your documents are available on the web:

  1. If you created your HTML documents in Windows, you need to copy all your files to one of the UNIX servers using secure copy.
  2. In UNIX, move or copy all your documents and images into ~/www-home
  3. Make sure your homepage is called index.html
  4. Make sure all your files are world readable using the command
    chmod -R go+rX ~/www-home
    This will recursively search through your www-home directory, add world read permission to each file, and add world execute permissions to each executable file/directory.
  5. Using your favorite web browser, visit http://www.math.utk.edu/~username, where username is your UNIX username. You should be able to see all the pages you created.
Top

Webpage requirements

You are free to organize your website however you wish, as long as you include the following:

For all formatting options, the default formatting counts as one of the options. For example, you only need one page to use the non-default background color.

Content

You do not need to put any personal information on the web if doing so makes you uncomfortable. However, a few of the more common ideas for a personal website include:

Top

Hints

  1. Create a skeletal HTML document for your homepage in a file called index.html, as described in lecture. Make sure you can load this document in your browser and the title appears in the browser's title bar before continuing.
  2. Now copy this document into another file, say page2.html. Edit index.html so that it contains a link to page2.html, and edit page2.html so that it contains a link back to index.html. Now reload index.html in your browser. You should see the link you created. You should be able to click on the link, have page2.html load, and then click on the link back to index.html. Make sure this works before continuing.
  3. Now add a list to one of the pages. Reload the page in your web browser and make sure the list displays correctly (all the list items show up with bullets or numbers as appropriate, everything is indented properly, etc.).
  4. Once the list looks right, add another of the required elements to one of your web pages. Every time you add a new element, reload the web page in your browser window and make sure everything still displays correctly. If at any point something looks wrong, stop adding new features until you have fixed the problem. Hopefully, the mistake will be in code you have just written, making corrections easier.
Top

Extra Credit Assignments

Top

Back to the course information page