The first paragraph, with a class name of "first."

The second paragraph, with a class name of "second."

The third paragraph, with a class name of "third."

  1. What does it mean to add stylesheets inline?
    It means inserting stylesheet rules right in the middle of each of your HTML.
  2. When inserting stylesheets inline, do all of the following tags share the same attributes as the selector that you added the stylesheet to or not?
    Yes
  3. Why would one use classes?
    It would be useful to have them if you wanted several different declarations for the same type of selector throughout the page.
  4. Where do the classes appear in a stylesheet?
    They are written after the selector, and they are separated from it by a period.
  5. In your own words, what are contextual selectors?
    They are selectors that are only applied under certain conditions.
  6. List the order of importance for stylesheets (showing which takes precedence), listed from 1 to 5.
    1. Inline styles
    2. Embedded styles
    3. Linked styles
    4. Imported styles
    5. Default browser styles
  7. If the following appeared on your page, which one would win out, the "I" stylesheet or the "Font" tag?

    I { font-family: impact }

    <P>I think <I><FONT FACE="Times">East of Eden</FONT></I> is Steinbeck's best novel. </P>

The "I" in the stylesheet.

Back
Next
Hosted by www.Geocities.ws

1