CSci 1101 Lab 1 - January 24, 26

Goals of this lab:

Tasks for the lab (Jan 24):

  1. Pick any machine and log in. Your login name is the first 6 letters of your last name (or your entire last name if it's shorter than 6 letters) followed by your initials (first name and middle name), all in lower case. The password will be announced in class.
  2. First thing you need to do is to change your password. Double-click on the terminal icon at the top of the window to open the command prompt window. Type passwd. You will be asked to type in your current password and then your new password twice. Your password must have at least two different kinds of symbols, such as letters, digits, and punctuation marks. Make sure to remember your new password.

Uploading the initial web pages (Jan 26):

  1. Pick any machine and log in.
  2. Start the browser by either clicking on its icon or by typing firefox & in the terminal window.
  3. In the browser go to the web page example (note that the page name has underscores in it: a_very_simple_web_page.html) and view the page source.
  4. Start jEdit text editor: go to the Applications menu, choose Programming, and then choose jEdit.
  5. Copy/paste the page source into the jEdit window and save it as a_very_simple_web_page.html
  6. Upload the file to the server by typing (in the terminal window)
    scp a_very_simple_web_page.html rynite:public_html
    The password for this account will be announced in class.
  7. Create a directory (folder) images by typing mkdir images at the command prompt in terminal window.
  8. Download the images used for the sample page into the folder images (it will be in your home folder).
  9. Upload the entire folder into your public_html on rynite:
    scp -r images rynite:public_html
  10. View your page at (replace yourloginname with your login name). Make sure the page shows up as it should.
  11. Validate this page by copy/pasting its URL into XHTML validator. Caution: the URL should contain the full domain name of the server: (using just rynite would work for viewing pages in the lab, but will not work in the validator). There should be one error: using bgcolor.

Changing the web page

In this part of the lab you are asked to experiment with the given web page. Please feel free to change other things as well, the more you experiment - the better. However, you need to follow these guidelines: Here are some features of the web page that you need to experiment with:
  1. Change the first list in the page to be ordered. Make the numbering system different from the second list (Roman numerals or letters). See p. 219 for more. Feel free to experiment further with list numbering.
  2. Change one of the headers in the page to a different level (say, h4 to h3).
  3. Add a paragraph that has the following: two different content-based tags (<cite>, <dfn>, or any other ones) and a link to any web site. Make sure that your page is still XHTML-compliant. The text can be anything, it doesn't have to be related to the topic of the page.
  4. Make one of the images into a link (to any web page) by nesting it inside the a (anchor) element. Experiment with the border attribute of the image (see p. 136). When you are done experimenting, set the border to 0.
  5. Add some text to the paragraph containing the image winter_walk.jpg. Experiment with align attribute (see pp. 129-1135 of the textbook). Use only those that are supported by mainstream browsers (see p. 130). These attributes are deprecated in XHTML standard, so you may get an XHTML error when you validate your page. Ignore it.
  6. Set the width and the size attributes of the <hr> element (see p. 114). You can also experiment with the align attribute.
  7. Change the table so that it has two rows, each with two cells: one with image, and another one with text (type in any text you want, use appropriate XHTML formatting). Then set the border, cellspacing, and cell padding attributes of the table (see pp. 362-366).
  8. Set the bgcolor attribute of the text table cells (make them be different colors).

How to submit this lab

You have till 10pm on Friday to finish this lab. You don't need to submit anything, simply leave your web page on rynite. Don't change anything in it after the deadline until you receive the grade. If you would like to experiment with HTML further, simply make a copy of the HTML file with a different name and upload it to rynite.

If you have any questions, please come to my office hours or e-mail me.

This page is a part of CSci 1101 course web site.

The views and opinions expressed in this page are strictly those of the page author. The contents of this page have not been reviewed or approved by the University of Minnesota.