Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

CSS 1. ________ allow you to specify the style of your page elements (spacing, m

ID: 638978 • Letter: C

Question

CSS

1. ________ allow you to specify the style of your page elements (spacing, margins, etc.) separately from the structure of your document.

a) Filters

b) Style declarations

c) Cascading Style Sheets

d) Text flows

2. An example of the proper format for inline styles is:

a)

b)

c)

d)

3 Style sheets use which of the following MIME types?j

a) image/gif

b) text/javascript

c) text/css

d) text/html

4. In the body of a style sheet, a CSS property is separated from its value by a ________.

a) dot

b) CSS operator

c) colon

d) semicolon

5 Multiple CSS rule properties in style sheets are separated by a ________.

a) dot

b) CSS operator

c) colon

d) semicolon

6 Which of the following selections is the proper way to apply this CSS rule:

   .blue { color: blue }

a)

b)

c)

d)

7. How will the following CSS rule alter the web page if it is applied in a style sheet?

   h1 { font-family: Arial, sans-serif }

a) All text in h1 elements will have the Arial font, while text in other elements will use a sans-serif font.

b) All text in h1 elements will have use a sans-serif font, while text in other elements will use Arial.

c) All text in h1 elements will have the Arial font if sans-serif is not supported by the system.

d) All text in h1 elements will use a sans-serif font if Arial is not supported by the system.

8. The hover pseudo-class allows you to change to an element

Explanation / Answer

1. c
2.
3. c
4. c
5. d
6.
7. d
8. a
9. d
10. d
11. c
12. c
13. a
14. a
15. d
16. b
17. c
18. c
19. c
20. a