CSS Outline


  1. Which of the following value specifies a dashed outline?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    The property defines a dashed border.


  1. Identify the outline property that specifies the amount of area extended beyond the border box.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    It specifies a 3D outset border. The effect depends on the border-color value.



  1. Which of the following property specifies the color of an outline?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    As the property name specifies, it sets the color of the outline to the provided value.


  1. Choose the option that correctly specifies the output of the following CSS.
    span {
    border: 1px solid red;
    outline: green dotted thick;
    }











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    The border property creates the inner border, while the outline sets the outer border.



  1. Which of the following property is used to draw a line around elements outside the borders?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    Outlines do not take up space, they are drawn above the content.