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."
- What does it mean to add stylesheets inline?
- It means inserting stylesheet rules right in the middle of each of your HTML.
- 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
- 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.
- Where do the classes appear in a stylesheet?
- They are written after the selector, and they are separated from it by a period.
- In your own words, what are contextual selectors?
- They are selectors that are only applied under certain conditions.
- List the order of importance for stylesheets (showing which takes precedence), listed from 1 to 5.
- Inline styles
- Embedded styles
- Linked styles
- Imported styles
- Default browser styles
- 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