Chapter 22 Quiz

Question 1) By default, block elements...

a) Are as wide as their contents
b) Take up the width of their container
c) Have no width unless stated otherwise
d) None of the above

Question 2) By default, inline elements...

a) Are as wide as their contents
b) Take up the width of their container
c) Have no width unless stated otherwise
d) None of the above

Question 3) Setting the width and height is done using which CSS properties?

a) elem-width and elem-height
b) css-width and css-height
c) height-x and height-y
d) width and height

Take a look in the next chapter at aligning/floating an element's content. Chapter 23 - Floats and Text-Alignment