Page 7 of 16PREVNEXT

Introduction to cascading style sheets (CSS)

Test yourself

Complete the following test so you can be sure you understand the material. Your answers are private, and test results are not scored.


Which of the following is an advantage of using cascading style sheets?

Smaller pages.

Faster downloads.

More control.

All of the above.

In what order do cascading style sheets take precedence?

Embedded, then linked, then inline.

Inline, then linked, then embedded.

Inline, then embedded, and then linked.

A style sheet is a set of instructions that tells a browser how to present HTML elements.

False.

True.

A style rule is made up of two parts: the _____ and the definition.

Selector.

Property.

Value.

Page 7 of 16PREVNEXT