Review Exam
Review Exam
REVIEW TIME
Let's Put Your Knowledge to The Test!
DIRECTIONS:
QUESTION:
1. You want to repeat a background image both horizontally
background-repeat background-size
background-position background-attachment
M U LT I P L E C H OI CE
QUESTION:
2. What property is used to change or add color behind
text?
background background-color
color Color-background
M U LT I P L E C H OI CE
QUESTION:
3. What is the correct block-level elements below?
2. a. background
ANSWER:
3. b. <p> <div>
<h2>
M U LT I P L E C H OI CE
QUESTION:
4. Which of the following codes will add a blue background
QUESTION:
5. Which background property specifies the background-color
of an element?
background-color background-hue
QUESTION:
6. Below are the right format of using float property in CSS
EXCEPT;
QUESTION:
7. Which of the following declarations show correct syntax of
background-tint: blue;
QUESTION:
8. What property is used to add borders to a text or group of
text?
border-style border
QUESTION:
9. Which of the following is not a border style?
dashed triple
double dotted
7. a. background-color: Rgb (100%, 0%, 0%)
8. c. border
ANSWER:
9. b. triple
M U LT I P L E C H OI CE
QUESTION:
10. Which of the following elements can background color be
applied?
body headings
QUESTION:
11. Which property specifies an image to use as the
background of an element?
background-color background-image
background-pattern background-position
M U LT I P L E C H O I CE
QUESTION:
12. Which of the following list property is used as a shorthand
list-style list-style-image
list-style-position List-style-type
10. d. All of the above
11. b. background-image
ANSWER:
12. a. List-style
M U LT I P L E C H O I CE
QUESTION:
13. Which of the following declarations show correct syntax of
background-image property?
background-image: url(Sun.jpg);
QUESTION:
14. What is the term that represents the structured layout plan
Offset Div
M U LT I P L E C H OI CE
QUESTION:
15. Which of the following elements in the box model are
transparent?
QUESTION:
16. What value in float property must Nancy use if she wants to
left?
left None
M U LT I P L E C H OI CE
QUESTION:
17. Which of the following list property is used to set an image
as a bullet?
list-style list-style-image
list-style-img List-style-type
M U LT I P L E C H OI CE
QUESTION:
18. Which of the following list property is used to set the
list-style list-style-align
list-style-marker list-style-position
16. c. left
17. b. list-style-image
ANSWER:
18. d. List-style-position
M U LT I P L E C H OI CE
QUESTION:
19. You want to change the numbering style of an ordered list to
list-style-type list-style-image
list-style-position list-style
M U LT I P L E C H OI CE
QUESTION:
20. Which pseudo-element is used to select links where the
mouse is over?
:active :befor
e
:hover :link
M U LT I P L E C H O I CE
QUESTION:
21. Which pseudo-element is used to insert content before
:before :first-letter
:first-line :focus
19. a. list-style-type
20. c. :hover
ANSWER:
21. a. :before
M U LT I P L E C H OI CE
QUESTION:
22. Which of the following properties changes the thickness of
letter?
letter-spacing text-indent
font-weight font-size
M U LT I P L E C H OI CE
QUESTION:
23. What is the element in the box model that serves as a space
padding border
margin width
M U LT I P L E C H OI CE
QUESTION:
24. If Atarah has to decide on the positioning of her element, what
23. b. border
ANSWER:
24. a. absolute, fixed, relative,
static
M U LT I P L E C H OI CE
QUESTION:
25. What property is used to avoid the image from repeating?
Fixed repeat
no-repeat Scroll
M U LT I P L E C H OI CE
QUESTION:
26. Diana would like to add a background-image to her webpage.
QUESTION:
27. Which property specifies whether the background image should
background-position background-attachment
background-repeat background-color
25. c. no-repeat
ANSWER:
26. b. body { background-image: url
(pattern.jpg); }
27. b. background-attachment
M U LT I P L E C H OI CE
QUESTION:
28. Which CSS embedded rule is used to assign the location of the
background-position background-repeat
Background-attachment background-image
M U LT I P L E C H OI CE
QUESTION:
29. Which CSS embedded code is correct to change the background
body {background-color:purple;}
<body style=”background-
color:purple;>
body{color:purple;}
<body background-color=”purple”>
M U LT I P L E C H OI CE
QUESTION:
30. What is the default value of the web page for the background-
repeat property?
repeat-y repeat
repeat-x
no-repeat
28. a. background-position
ANSWER:
29. body {background-color:purple;}
30. repeat
M U LT I P L E C H OI CE
QUESTION:
31. What is the name of the value that is where the position of
absolute fixed
relative Static
M U LT I P L E C H OI CE
QUESTION:
32. Which of the following is the properties used in Offset?
QUESTION:
33. What layout property in CSS controls where a specified block
ANSWER:
32. d. top, right, bottom, left
33. c. float
M U LT I P L E C H O I CE
QUESTION:
34. What property must we use to wrap a text around its element?
QUESTION:
35. What are the different positioning schemes that we can use for
Element Positioning?
QUESTION:
36. What is the name of the value that gives a default normal
absolute fixed
relative static
34. c. float
36. d. static
M U LT I P L E C H OI CE
QUESTION:
37. Which of the following are the properties used in Float?
QUESTION:
38. Which among the sentences is true about box model in CSS?
QUESTION:
39. What layout property in CSS that allows us to place an object in
float offset
37. c. left, right, none
QUESTION:
40. Which of the following sets up the distance of the specified
float offset
M U LT I P L E C H OI CE
QUESTION:
41. Which of the following declarations show correct syntax of
background attachment?
QUESTION:
42. What separates the values in the shorthand notation of
background property?
semi-colon Spaces
40. d. offset
42. d. Spaces
M U LT I P L E C H O I CE
QUESTION:
43. Joseph wants to give emphasis to the main heading of the
to use?
background-attachment background-color
background-position background-repeat
M U LT I P L E C H OI CE
QUESTION:
44. Which background property specifies the position of background
image?
background-attachment background-image
background-position background-repeat
M U LT I P L E C H OI CE
QUESTION:
45. Which of the following declaration shows correct syntax of
background position?
QUESTION:
46. How many values does the background-attachment property
have?
2 4
5
3
M U LT I P L E C H OI CE
QUESTION:
47. What feature is used to set the background color of an specific
element?
background-image
background-color
background-position
background-repeat
M U LT I P L E C H OI CE
QUESTION:
48. In the box model, which CSS property is furthest outside?
margin
border
padding
content
46. a. 2
48. b. margin
M U LT I P L E C H OI CE
QUESTION:
49. To help Atarah customize the measurement of the values she
puts in her offset property, what unit of value must she use?
percentage
number only
point
pixel
M U LT I P L E C H OI CE
QUESTION:
50. In the box model, which CSS property is closest inside?
border content
padding
margin
M U LT I P L E C H OI CE
QUESTION:
51. Which of the following values are accepted by the float
property?
left none
QUESTION:
52. Atarah is currently on a mission to design the structure of the
except for:
border content
space
margin
M U LT I P L E C H OI CE
QUESTION:
53. Which property value of background does repeat an image
vertically only?
repeat-x repeat-y
no repeat
repeat
M U LT I P L E C H OI CE
QUESTION:
54. What feature is used to set the background image of an
element?
background-color background-image
54. b. background-image
M U LT I P L E C H OI CE
QUESTION:
55. Which property value of background does repeat an image
horizontally only?
repeat-x repeat-y
no repeat
repeat
M U LT I P L E C H OI CE
QUESTION:
56. What are the properties of the box model in order from inside to
outside?
QUESTION:
57. What happens when an element is floated?
QUESTION:
58. What does the "float" property do in CSS?
QUESTION:
59. Which of the following statements is true regarding the float
property?
QUESTION:
60. You want to position a background image at a fixed position
within an element, regardless of scrolling. Which CSS property
should you use?
background-image
background-attachment
background-position
background-size
58. b. Positions an element to the left or right
of its containing element
60. background-attachment
THANK YOU MGA
BAI!