ExamVeda
Login
Home
1
Which of the following CSS property defines the different properties of all four sides of an element’s border in a single declaration?
Discuss
Answer & Solution
Answer: Option D
Solution:
The border-width property sets the width of an element’s four borders. This property can have from one to four values.
2
Identify the CSS property defining bottom-left corner shape of the border?
Discuss
Answer & Solution
Answer: Option C
Solution:
CSS3 border-radius property allows you can give any element “rounded corners”.
3
Select the CSS property that sets the width of an element’s bottom border?
Discuss
Answer & Solution
Answer: Option D
Solution:
The border-bottom-width CSS property sets the width of the bottom border of a box.
4
Which of the following CSS property border-color property sets the color of an element’s four borders?
Discuss
Answer & Solution
Answer: Option C
Solution:
The border-color property sets the color of an element’s four borders. This property can have from one to four values.
5
Choose the CSS property that can be used for collapsing the borders between table cells?
Discuss
Answer & Solution
Answer: Option C
Solution:
The border-collapse property sets whether the table borders are collapsed into a single border or detached as in standard HTML.
6
Which CSS property can be used to set the image as border instead of the border style?
Discuss
Answer & Solution
Answer: Option D
Solution:
The border-image-source property specifies the path to the image to be used as a border (instead of the normal border around an element).
7
In how many way border-image-width CSS property can be defined?
Discuss
Answer & Solution
Answer: Option D
Solution:
The border-image-width CSS property defines the offset to use for dividing the border image in nine parts, the top-left corner, central top edge, top-right-corner, central right edge, bottom-right corner, central bottom edge, bottom-left corner, and central right edge.
8
Which of the following is not an appropriate value for border-collapse?
Discuss
Answer & Solution
Answer: Option A
Solution:
Except option a, all other values can be set to border collapse CSS property.
9
Which of the following specifies the distance between the borders of adjacent cells?
Discuss
Answer & Solution
Answer: Option C
Solution:
The border-spacing property sets the distance between the borders of adjacent cells (only for the “separated borders” model).
10
Which of the following property defines the border-width, border-style and border-color of an element’s top border in a single declaration?
Discuss
Answer & Solution
Answer: Option B
Solution:
The border-top shorthand property sets all the top border properties in one declaration.