Test Series - css

Test Number 14/59

Q: Which of the following property defines in a shorthand form the width, style, and color for the bottom border of an element?
A. border-bottom
B. border-bottom-color
C. border-bottom-all
D. none of the mentioned
Solution: Syntax: border-bottom: border-width border-style border-color;
Q: Which of the following property sets the width of an element’s bottom border?
A. border
B. border-collapse
C. border-bottom-width
D. none of the mentioned
Solution: Syntax: border-bottom-width: non-negative length | medium | thick | thin | inherit
Q: Which of the following property defines whether table cell borders are connected or separate?
A. border-table
B. border
C. border-collapse
D. none of the mentioned
Solution: Syntax: border-collapse: collapse | separate | inherit
Q: Which of the following property defines the style for the right border of an element?
A. border-spacing
B. border-spacing
C. border-right
D. none of the mentioned
Solution: Syntax: border-right-style: dashed | dotted | double
Q: Which of the following property defines the color of an element’s top border?
A. border-color
B. border-top-color
C. border-top
D. none of the mentioned
Solution: Syntax: border-top-color: color | transparent | inherit
Q: Which of the following property sets the width of an element’s complete border?
A. border-width
B. width
C. border-depth
D. none of the mentioned
Solution: Syntax: border-width: width
Q: Which of the following property defines the visual style of up to four different sides of a border?
A. border-style
B. border
C. border-top
D. none of the mentioned
Solution: Syntax:
border-style: style
Q: Which of the following defines in a shorthand form the width, style, and color for the top border of an element?
A. border-up
B. border-bottom
C. border-style
D. none of the mentioned
Solution: Syntax: border-top: border-width border-style border-color;
Q: Which of the following property defines the y (vertical) coordinate for a positioned element, relative to the bottom of the enclosing object or browser window?
A. border
B. bottom
C. position
D. none of the mentioned
Solution: Syntax: bottom: length | percentage | auto | inherit
Q: Which of the following property specifies the placement of an element in relation to floating objects?
A. clear
B. color
C. space
D. none of the mentioned
Solution: Syntax: clear: both | left | none | right

You Have Score    /10