Professional Documents
Culture Documents
Basics of Web Design Html5 and Css3 3rd Edition Terry Felke Morris Test Bank
Basics of Web Design Html5 and Css3 3rd Edition Terry Felke Morris Test Bank
1. The _______ is the area between the content and the border.
a. border
b. spacing
c. padding
d. margin
2. The default value for the border property for an element is:
a. 1 pixel
b. 0 pixels
c. 3 pixels
d. 10 pixels
a. border
b. content
c. spacing
d. margin
4. Which of the following configures a margin for an element with the following values:
top margin 30 pixels, left margin 150 pixels, right margin 0 pixels, and bottom margin 0
pixels?
Page 1
Basics of Web Design
Instructor Materials Chapter 6 Test Bank
c. margin: 30px 0 0 150px;
5. Which of the following configures padding for an element with the following values:
top padding 0 pixels, left padding 10 pixels, right padding 10 pixels, bottom padding
20px?
6. Which of the following configures a 1 pixel, solid black border for an element?
a. border-all: #000000;
7. Which of the following, from outermost to innermost, are components of the box
model?
Page 2
Basics of Web Design
Instructor Materials Chapter 6 Test Bank
a. border
b. spacing
c. padding
d. content
9. Which of the following is used along with the width property to configure centered
page content?
d. margin: 20px;
10. When configuring the background color of an element, the background color is
a. border
b. padding
c. margin
d. extra
11. Use the ________________ property to configure rounded corners with CSS.
a. border-round
b. border-radius
c. box-shadow
Page 3
Basics of Web Design
Instructor Materials Chapter 6 Test Bank
d. background-corner
a. opacity
b. transparency
c. background-opacity
d. opacity-background
a. transition
b. transform
c. shadow
d. gradient
a. box-shadow
b. linear-gradient
c. text-shadow
d. shadow
15. Use the ________________ property to confine the display of the background
image.
a. background-image
Page 4
Basics of Web Design
Instructor Materials Chapter 6 Test Bank
b. background-clip
c. background-origin
d. background-size
16. Use the ___________________ property to resize or scale the background image.
a. background-image
b. background-clip
c. background-origin
d. background-size
18. Use the __________ property to configure a minimum width for an element
a. width
b. minimum-width
c. min-width
d. m-width
a. linear-gradient
b. background-color
c. background-image
Page 5
Basics of Web Design
Instructor Materials Chapter 6 Test Bank
d. opacity
21. Use the __________ property to configure a maximum width for an element
a. width
b. maximum-width
c. max-width
d. width-max
22. Which of the following is NOT a valid value for the border-style property?
a. dashed
b. groove
c. solid
d. triple
True or False.
25. ____ A radial gradient is a smooth blending of color emanating outward from a single
point.
Page 6
Basics of Web Design
Instructor Materials Chapter 6 Test Bank
Answers.
1. c
2. b
3. d
4. c
5. b
6. b
7. a
8. a
9. a
10. b
11. b
12. a
13. d
14. c
15. b
16. d
17. c
18. c
19. c
20. d
21. c
22. d
23. False
24. False
25. True
Page 7