Cascading Style Sheets (CSS) — Chapter Test

Answer all 5 questions, then submit. You need 60% to pass. Log in to save progress.

Question 1
In a CSS rule, the part that chooses WHICH elements to style is the…
Aproperty
Bvalue
Cselector
Ddeclaration
Question 2
Which property sets the background colour of an element?
Acolor
Bbackground-color
Cborder-style
Dbgcolor
Question 3
Which property creates space OUTSIDE an element, pushing neighbours away?
Awidth
Bmargin
Cborder-style
Dcolor
Question 4
To centre a heading's text you write…
Aalign: middle
Btext-align: center
Cfloat: center
Dfont-align: center
Question 5
Which property makes text wrap around an image placed to the side?
Afloat
Bmargin
Coutline
Dfont-style