External Cascading Style Sheets


This page (styles3-external.html) contains the same inline and embedded stylesheet styles as the previous page (styles2-embedded.html). It also uses styles from an external style sheet, styles1.css. The external style sheet says to make paragraphs red; the embedded style sheet says to make them blue. Look at the source of this page and the file styles1.css to answer the questions below.


This paragraph has no inline style definition, nor does it have any class attribute defined.

This paragraph has an inline style declaration in its opening <p> tag that causes the paragraph to be printed in green and in italics.

This paragraph has no inline style delclaration in its opening <p> tag, but it has the class attribute of "plain."

7. Are there any differences between the way that rules are declared in external style sheets versus in embedded style sheets?

8. What happens when an external style sheet and an embedded style sheet conflict? How did you arrive at your answer?