CPSCI 107: Applications, Implications, and Issues

Lab 5

February 1, 2006

Preliminaries

We didn't get to discuss validation last class, so return to Lab 4.

Website Maintenance

  1. Log in to your account on warp and make public_html your working directory.
  2. Create a new directory named old. Set its permissions so that the web server will be able to access it. Keeping public_html as your working directory, move all the contents of public_html into old.
  3. Copy the file template.html from the directory /home/public/web-authoring/ to the working directory, naming it (of course) template.html. Edit the template, typing your name as the author in the <address> element. Save the file, exit emacs, and make your new template file read-only.
  4. Create a new homepage using the template, naming it (of course) index.html. Type your name in the <title> element and in the <h1> element of this file.
  5. Open your new homepage in a web browser. Run it through the XHTML syntax validator by using the link at the bottom of the webpage. Correct any mistakes.

Style

  1. Create a directory named style in public_html. Set its permissions so that the web server will be able to access it. Make it your working directory.
  2. Copy the file mystyle.css from the directory /home/public/web-authoring/ to the working directory, naming it mystyle.css. Set its protections so that it's visible on the web.
  3. Go to the browser window containing your homepage. Refresh the page.
  4. Return to your style directory and open the file mystyle.css in emacs. Modify the file by killing the line that says to do so. Save the file. (The timestamp at the top of the file should be updated automatically, and your name should appear as the person who modified the file.)

Homework 3

  1. Use the XHTML template file to create a file about.html in public_html. It should contain a paragraph of information about you. Include whatever information you think would be useful for someone who's interested in assessing the quality of your posted content. Run the page through the validator and make any necessary corrections.
  2. Use the template to create a file usability.html in public_html. Insert the contents of the website review document you created for Homework 1. Mark up the content using appropriate XHTML tags. Run the page through the validator and make any necessary corrections.
  3. Use the template to create a file browsers.html in public_html. Insert the contents of the text file about web browsers you created for Homework 1. Mark up the content using appropriate XHTML tags. Run the page through the validator and make any necessary corrections.
  4. Put links to usability.html and browsers.html on your homepage.

This homework assignment is due on Friday, February 3.


[ Return to the CPSCI 107 homepage ]

Brian J. Rosmaita <contact me>
This page was last modified Tuesday, 31 January 2006 at 20:26 UTC.
Valid XHTML 1.0 ! Valid Cascading Style Sheets! This page is in AAA Conformance with the Web Content Accessibility Guidelines