
Q 1. Which of the following property defines the space between cells in a table?
A. auto
B. border
C. spacing
D. border-spacing
Show Answer
Answer:-D. border-spacingExplanation
Syntax: border-spacing: non-negative length(s) | inheritQ 2. Which of the following property defines the visual style of up to four different sides of a border?
A. border- img
B. border-color
C. border-visual
D. border-style
Show Answer
Answer:-A. border- imgExplanation
Syntax: border-style: styleQ 3. 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
Show Answer
Answer:-D. border-topExplanation
Syntax: border-top: border-width border-style border-color;Q 4. Which of the following property sets the shadow for a box element?
A. shadow
B. set-shadow
C. canvas-shadow
D. box-shadow
Show Answer
Answer:-B. set-shadowExplanation
Syntax:box-shadow: none | inheritQ 5. 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
Show Answer
Answer:-D. none of the mentionedExplanation
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 6. 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
Show Answer
Answer:-C. scrollbar-darkshadow-colorExplanation
Syntax: scrollbar-darkshadow-color: colorQ 7. 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-color
D. scrollbar-shadow
Show Answer
Answer:-C. scrollbar-shadow-colorExplanation
Syntax: scrollbar-shadow-color: colorQ 8. Which of the following property sets the background image to scroll or not to scroll with its associated element’s content?
A. background-attachment
B. background-attach
C. background-scroll
D. background-allowance
Show Answer
Answer:-A. background-attachmentExplanation
Syntax: background-attachment: scroll | fixed | inheritQ 9. Which of the following property sets an element’s background color?
A. background-image
B. background-color
C. background-colors
D. background-position
Show Answer
Answer:-B. background-colorExplanation
Syntax: background-color: color | transparentQ 10. Which of the following property defines the color of an element’s right border?
A. border-right-colors
B. border-right
C. border-right-color
D. border-color
Leave a Reply