2 minute read

Basics of Web Design Instructor Materials Chapter 6 Test Bank

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

3 When using the box model, the _____ is always transparent.

Advertisement

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? a. margin: 150px 20px 0 300px; b. margin: top-30, left-150, right-0, bottom-0; c. margin: 30px 0 0 150px; d. margin: 30px 150px 0 0;

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? a. padding: 0px 10px 20px 10px; b. padding: 0 10px 20px 10px; c. padding: 10xp 20px; d. padding: 20px 10px 10px 0px; a. border-all: #000000; b. border: 1px solid #000000; c. border-style: 1px solid #000000; d. border-top: 1px solid #000000; a. margin, border, padding, content b. content, padding, border, margin c. content, margin, padding, border d. margin, padding, border, content a. border b. spacing c. padding d. content a. margin-left:auto;margin-right:auto b. margin:top-10,left-0,right-0,bottom-10; c. margin:15px05px0; d. margin:20px; a. border b. padding c. margin d. extra a. border-round b. border-radius c. box-shadow 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 a. background-image b. background-clip c. background-origin d. background-size a. background-image b. background-clip c. background-origin d. background-size

6 Which of the following configures a 1 pixel, solid black border for an element?

7 Which of the following, from outermost to innermost, are components of the box model?

8. The _______ is between the padding and the margin.

9. Which of the following is used along with the width property to configure centered page content?

10. When configuring the background color of an element, the background color is applied to both the content and ______ areas.

11. Use the ________________ property to configure rounded corners with CSS.

12. The CSS3 _______ property configures the transparency of an element.

13. A _________________ is a smooth blending of shades from one color to another.

14. The ___________________ property configures a shadow effect on the text displayed within an element.

15. Use the ________________ property to confine the display of the background image.

16. Use the ___________________ property to resize or scale the background image.

17. The letters in the acronym HSLA indicate: a. hue, selection, lightness, alpha b. hue, saturation, luminosity, alpha c. hue, saturation, lightness, alpha d. hue, shade, luminosity, alpha

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 d. opacity

19. Use the _______ property to configure a linear gradient.

20. The CSS opacity property configures the display of _____________ a. only the background b. only the text c. neither the text or the background d. both the text and the background

21. Use the __________ property to configure a maximum width for an element a. width b. maximum-width c. max-width d. width-max a. dashed b. groove c. solid d. triple True or False.

22. Which of the following is NOT a valid value for the border-style property?

23. ____ A border can be configured on only one side of an element

24. ____ HSL color is supported by all browsers.

25. ____ A radial gradient is a smooth blending of color emanating outward from a single point.

This article is from: