Assignment 2 is due Friday, February 6, 2009 at 9:00 pm.

View:
Chapter 2 -- Jump Start: Browsing and Publishing Slides
UNIX Slides
(Link to slides can be found on Summaries page of class site.)
Visit:
Paul Sand's Using The Web for more information about setting up your homepage.

24 Points

  1. Put your answers to the following questions in the message text of an e-mail message with a subject of:
    "CS403-n Assignment 2 - *yourname*" (where n is either 01, 03, or 04, depending upon which section you are in and *yourname* is replaced by your name) in the subject field. Send it to Dan (our grader) at: der29@cisunix.unh.edu. (Don't forget to CC yourself.)
    1. This semester we are learning XHTML - eXtensible HyperText Markup Language. As discussed in class, name at least three significant changes that you will have to make in order to modify HTML code so that it is valid XHTML.
    2. Answer the following questions about your homepage:
      1. What is the complete Web address for your homepage? (This is the one with all parts of the url specified: how, where, and what.)
      2. Break the Web address for your homepage down into the How://Where/What format and tell us what the value is of each component in this format (i.e., How is ?, Where is ?, What is ?).
      3. Why is it important to have a meaningful title for your homepage?
      4. What XHTML tags are used to create the title for your homepage?
      5. What XHTML tags are used to create a heading for your homepage?
    3. Answer the following questions about the RGB color model.:
      1. Describe the RGB color model.
      2. Using the body tag, demonstrate how to make the background of a Web page a particular color (you can choose the color).
      3. Represent 5 different colors (you pick the five colors) using the RGB color model.
  2. Starting with the template that we looked at in class (http://pubpages.unh.edu/~cs403d/CS403/StrictTemplate.html) create a homepage that has a file name of index.html. Your index.html file should be in your public_html directory. Permissions should be set so that your homepage can be viewed on the Web. We will access your homepage by selecting your name on the Students page for your section (students01.html for Section 01, students03.html for Section 03, or students04.html for Section 04). Your homepage should contain the following:
    1. The basic XHTML tags - these will already be in the template.
    2. A heading and title that includes your name (first and last) and identifies this page as your homepage for CS403 and your section. Recall that the title will display in the title bar of the browser; the heading displays in the document area of the Web page.
    3. Demonstrate the use of the six heading tags (if you created the heading described above then that is probably the largest and you just need to add h2 through h6) by creating headings for the following. In addition, where specified, use paragraph tags, a mailto hyperlink, and regular hyperlinks:
      • Assignments
      • Background Info
        Under the heading Background Info create two paragraphs that tell a bit about you. These paragraphs should appear under the heading Background Info.
      • Contact Info
        A mailto hyperlink to yourself should be provided so that people can easily contact you using email. This link should be located under the heading Contact Info on your page.
      • My Class Link
        Provide a hyperlink on your homepage that loads our class Web page:
        http://pubpages.unh.edu/~cs403d/CS403. The hyperlink should specify something like CS403 Class as the clickable text and it should be located under your My Class Link heading.
      • My Favorite Site
        Provide another hyperlink on your homepage that links to another site that you like. The clickable text for this hyperlink should be short but descriptive (do not use phrases like Click Here). This link should be located under the heading My Favorite Site.
    4. Use at least one comment tag (that is, a comment that you create, not the comments that I have already included in the template). In your comment, mention what class you are creating this page for as well as the semester. Remember that comments will not be visible when you view the Web page using a browser so it does not matter where in the body the comment appears.
    5. Your page needs to validate when we click on the W3C logo link!

      Note:
      Do not change or corrupt your XHTML files for this assignment until we let you know that it has been graded by posting the grades on-line.

      © McGraw-Hill 2007. All rights reserved.

      This presentation accompanies the book "In-line/On-line: Fundamentals of the Internet and World Wide Web" (ISBN 0-072-90685-5) written by Raymond Greenlaw and Ellen Hepp.