
Q1. 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. border-right-style
Show Answer
Answer:-C. border-rightExplanation
Syntax: border-right-style: dashed | dotted | doubleQ 2. Which of the following property defines the color of an element’s top border?
A. border-color
B. border-top
C. border-top-color-webkit
D. border-top-color
Show Answer
Answer:-D. border-top-colorExplanation
Syntax: border-top-color: color | transparent | inheritQ 3. 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
Show Answer
Answer:-A. border-widthExplanation
Syntax: border-width: widthQ 4. 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
Show Answer
Answer:-A. border-styleExplanation
Syntax:border-style: styleQ 5. 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
Show Answer
Answer:-D. none of the mentionedExplanation
Syntax: border-top: border-width border-style border-color;Q 6. 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
Show Answer
Answer:-B. bottomExplanation
Syntax: bottom: length | percentage | auto | inheritQ 7. 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
Show Answer
Answer:-A. clearQ 8.. 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
Show Answer
Answer:-A. border-bottomExplanation
Syntax: border-bottom: border-width border-style border-color;Q 9. 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
Show Answer
Answer:-C. border-bottom-widthExplanation
Syntax: border-bottom-width: non-negative length | medium | thick | thin | inheritQ 10. 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
Leave a Reply