Class 1 review (06/10/2002)


  1. Read chapters 1 and 2 for the HTML that is used in the following example. The TAGS used are all covered in chapters 1 and 2 of the Susan Anderson-Freed textbook.

  2. Part II of the textbook is JavaScript. Start reading chapter 8 Introduction to JavaScript, especially in conjunction with the following example.

  3. This example was passed out in class. Try it out here.

The top ten list for study of the hw.html example and lecture and related readings.

  1. The HEADING TAGS are discussed on page 5. What HEADING tags were used in the example page? What does it mean to say that they are "CONTAINERS"?

  2. What is the Protocol for the example program (see the URL on your handout)? What is the server name? What is the page location? What is the actual page name?

  3. What TAG attribute names are there in the example handed out in class.
    What Tag attibute values are used? List them.

  4. What is the default height of the HR horizontal rule that was used on the example? See chapter one, page 9. What is the name of the ATTRIBUTE that could be used to make the height taller?
    Write down the HTML tag code that would be used to make a horizontal ruler that is much darker, and 5 times the height of the default rulers.

  5. What ATTRIBUTE names and ATTRIBUTE values were used in causing different aspects of the web page to be displayed in other than the default black and white colors? What TAGs had attributes that specified colors?

    See page 28 for discussion of RRGGBB RGB hexadecimal values for color specification.
    Red, Green, Blue

    How many standard color names are there in HTML?
    How many custom color names does HTML have?

  6. On page 179, it is stated that JavaScript uses a specialized vocabulary to describe objects.. Objects contain P___, M___, and E___. Fill in these blanks.

  7. Study the object separator property diagram of Figure 8.7 on page 180. How many examples of object separator property can you find in today's example?

    How many specific examples of object separator method can you find? (Figure 8.10).

  8. Study the PROMPT window on pages 185 to 187. Experiment with the example and see what happens when you click the CANCEL button instead of the OK button.

    Which is prompt or window.prompt? Is it a P, or an M or an E? Page 186 contains the answer.

  9. What is concatenation? How many times was concatenation used in the 1st example?

  10. The Refresh or Reload command can be used to reexecute the JavaScript code for the hw.html page. If you want to look at the page, use the View menu, Source command.