Test Series - css

Test Number 19/59

Q: Which of the following property sets the background image to scroll or not to scroll with its associated element’s content?
A. background-scroll
B. background-attach
C. background-attachment
D. background-allowance
Solution: Syntax: background-attachment: scroll | fixed | inherit
Q: Which of the following property sets an element’s background color?
A. background-image
B. background-color
C. background-colors
D. background-position
Solution: Syntax: background-color: color | transparent
Q: Which of the following property defines the color of an element’s right border?
A. border-right-colors
B. border-right-color
C. border-right
D. border-color
Solution: Syntax: border-right-color: color | transparent
Q: Which of the following property defines the space between cells in a table?
A. auto
B. border
C. spacing
D. border-spacing
Solution: Syntax: border-spacing: non-negative length(s) | inherit
Q: Which of the following property defines the visual style of up to four different sides of a border?
A. border-color
B. border-img
C. border-visual
D. border-style
Solution: Syntax: border-style: style
Q: Which of the following property defines in a shorthand form the width, style, and color for the top border of an element?
A. border-style
B. border-height
C. border-width
D. border-top
Solution: Syntax: border-top: border-width border-style border-color;
Q: Which of the following property sets the shadow for a box element?
A. shadow
B. set-shadow
C. canvas-shadow
D. box-shadow
Solution: Syntax:box-shadow: none | inherit
Q: Which of the following property defines a shadow effect for text?
A. box-shadow
B. img-shadow
C. text-shadow
D. none of the mentioned
Solution: The shadow effects are applied in the order specified and may overlay each other, but they will never overlay the text itself. Each shadow effect must specify a shadow offset horizontally and vertically and may optionally specify a blur radius and a shadow color.
Q: Which of the following property defines a shadow color for the right and bottom edges of a scroll bar?
A. scrollbar-darkshadow
B. scrollbar-shadow-color
C. scrollbar-darkshadow-color
D. none of the mentioned
Solution: Syntax: scrollbar-darkshadow-color: color
Q: Which of the following property defines a color for the right and bottom edges of a scroll bar.
A. scrollbar-color
B. scrollbar-darkshadow-color
C. scrollbar-shadow
D. scrollbar-shadow-color
Solution: Syntax: scrollbar-shadow-color: color

You Have Score    /10