CSS Borders


  1. Which of the following CSS property border-color property sets the color of an element’s four borders?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    The border-color property sets the color of an element’s four borders. This property can have from one to four values.


  1. In how many way border-image-width CSS property can be defined?











  1. 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.



  1. Which CSS property can be used to set the image as border instead of the border style?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    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).


  1. Choose the CSS property that can be used for collapsing the borders between table cells?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    The border-collapse property sets whether the table borders are collapsed into a single border or detached as in standard HTML.



  1. Identify the CSS property defining bottom-left corner shape of the border?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    CSS3 border-radius property allows you can give any element “rounded corners”.