Style rules express the style characteristics for an HTML...

This preview shows page 1 - 3 out of 8 pages.

We have textbook solutions for you!
The document you are viewing contains questions related to this textbook.
New Perspectives on HTML and CSS: Introductory
The document you are viewing contains questions related to this textbook.
Chapter 3 / Exercise 3
New Perspectives on HTML and CSS: Introductory
Carey
Expert Verified
Chapter 4: Cascading Style Sheets TRUE/FALSE 1. Style rules express the style characteristics for an HTML element. PTS: 1 REF: 152
2. You can combine selectors and property declarations in a variety of ways. PTS: 1 REF: 153
3. It is not necessary to use the <style> element in an external style sheet. PTS: 1 REF: 155
4. The advantage of the external style sheet is that you can state the style rules in one document and af- fect all the pages on a Web site. PTS: 1 REF: 155
5. You will probably use the style attribute method of styling an element the most. PTS: 1 REF: 156
6. CSS allows comments within the <style> element, but not in an external style sheet. PTS: 1 REF: 157
7. By default, most CSS properties inherit from parent elements to child elements. PTS: 1 REF: 160
8. The difference between an id attribute and a class attribute is that an id should refer to only one occur- rence within a document. PTS: 1 REF: 169
9. Rules with more specific selectors take precedence over rules with less specific selectors. PTS: 1 REF: 180
10. The !important keyword allows you to specify that a rule should take precedence no matter what the order in the style sheet. PTS: 1 REF: 181
MULTIPLE CHOICE 1. A style rule is composed of ____ parts.
We have textbook solutions for you!
The document you are viewing contains questions related to this textbook.
New Perspectives on HTML and CSS: Introductory
The document you are viewing contains questions related to this textbook.
Chapter 3 / Exercise 3
New Perspectives on HTML and CSS: Introductory
Carey
Expert Verified
PTS: 1 REF: 152
2. In a style rule, the ____ determines the element to which a rule is applied. PTS: 1 REF: 152
3. In a style rule, the ____ details the exact property values. a. selector c. style tag b. style sheet d. declaration ANS: D PTS: 1 REF: 152
4. A declaration is enclosed by ____. PTS: 1 REF: 152
5. In a style rule, the ____ is a quality or characteristic, such as color, font size, or margin. PTS: 1 REF: 153
6. In a style rule, a property is followed by a ____. PTS: 1 REF: 153
7. In a style rule, a value is followed by a ____. a. colon (:) c. semicolon (;) b. question mark (?) d. period (.) ANS: C PTS: 1 REF: 153
8. ____ is simply a text document that contains the style rules. PTS: 1 REF: 155
9. External style sheets have a(n) ____ extension. PTS: 1 REF: 155
10. The ____ element lets you establish document relationships. PTS: 1 REF: 155

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture