To Lecture Notes

IT 130 -- 10/14/08

 

Review Questions

  1. What colors are these RGB codes closest to?

    Ans: silver, red, green, pastel blue.

  2. What is wrong with this style?

    Ans: There is a space between rgb and (128. It is probably also the same color as a visited link. Such links will then be invisible after it is visited.

  3. Write a link that uses the style page styles.css.

  4. If contradicting styles are found in an external style and in a document-level style on the same page, which one takes effect?

    Ans: The one that is positioned last.

  5. What is a dynamic web page?

    Ans: A page that can change its content based on input from the viewer or other information.

  6. What is an information architecture?

    Ans: A graphical description of the webpages in the site and the ability of the viewer to navigate from one page to another using links on those pages.

 

Forms and Controls in HTML

 

Dynamic Web Pages

 

The Dot ( . ) Operator

 

Creating a Form

 

Creating Controls

 

Practice Problem 1

  1. Create a web page with a title something like "Friendly Greeter". Display the title in the title bar and in an h1 or h2 heading. Supply an interesting document-level style for your page.

  2. Add a button to your form with the caption "Push Me". The onClick attribute should be similar to this:
    onClick="alert('Hello');"
    However, select a different message than 'Hello'.

  3. Add styles to the button similar to this:
    style="font-family:arial; font-size:150%;width:1in;height:0.5in"