CSS Borders
- Which of the following property defines the color of an element’s right border?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
Syntax: border-right-color: color | transparent
- Which of the following property defines the border-width, border-style and border-color of an element’s top border in a single declaration?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
The border-top shorthand property sets all the top border properties in one declaration.
- Which of the following specifies the distance between the borders of adjacent cells?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
The border-spacing property sets the distance between the borders of adjacent cells (only for the “separated borders” model).
- Which of the following is not an appropriate value for border-collapse?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
all other values can be set to border collapse CSS property.
- In how many way border-image-width CSS property can be defined?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
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.