CSS border

Question 1
Marks : +2 | -2
Pass Ratio : 100%
Which of the following specifies the distance between the borders of adjacent cells?
border-spacing-cell
border-width-spacing
border-spacing
cell-spacing
Explanation:
The border-spacing property sets the distance between the borders of adjacent cells (only for the “separated borders” model).
Question 2
Marks : +2 | -2
Pass Ratio : 100%
Which CSS property can be used to set the image as border instead of the border style?
background-image
border-image
background-image-source
border-image-source
Explanation:
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).
Question 3
Marks : +2 | -2
Pass Ratio : 100%
In how many way border-image-width CSS property can be defined?
4
6
8
9
Explanation:
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.
Question 4
Marks : +2 | -2
Pass Ratio : 100%
Identify the CSS property defining bottom-left corner shape of the border?
border-radius
border-corner-radius
border-bottom-left-radius
border-left-radius
Explanation:
CSS3 border-radius property allows you can give any element “rounded corners”.
Question 5
Marks : +2 | -2
Pass Ratio : 100%
Which of the following is not an appropriate value for border-collapse?
all
collapse
inherit
separate
Explanation:
Except option a, all other values can be set to border collapse CSS property.
Question 6
Marks : +2 | -2
Pass Ratio : 100%
Which of the following property defines the border-width, border-style and border-color of an element’s top border in a single declaration?
border
border-top
border-top-corner
border-top-style
Explanation:
The border-top shorthand property sets all the top border properties in one declaration.
Question 7
Marks : +2 | -2
Pass Ratio : 100%
Which of the following CSS property border-color property sets the color of an element’s four borders?
border-background
border-background-color
border-color
all of the mentioned
Explanation:
The border-color property sets the color of an element’s four borders. This property can have from one to four values.
Question 8
Marks : +2 | -2
Pass Ratio : 100%
Choose the CSS property that can be used for collapsing the borders between table cells?
border
collapse-border
border-collapse
border-cell
Explanation:
The border-collapse property sets whether the table borders are collapsed into a single border or detached as in standard HTML.
Question 9
Marks : +2 | -2
Pass Ratio : 100%
Which of the following CSS property defines the different properties of all four sides of an element’s border in a single declaration?
border
padding
border-collapse
border-width
Explanation:
The border-width property sets the width of an element’s four borders. This property can have from one to four values.
Question 10
Marks : +2 | -2
Pass Ratio : 100%
Select the CSS property that sets the width of an element’s bottom border?
border-width
border-bottom
border-width-down
border-bottom-width
Explanation:
The border-bottom-width CSS property sets the width of the bottom border of a box.