CSS Outline
- Which of the following value specifies a dashed outline?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
The property defines a dashed border.
- Identify the outline property that specifies the amount of area extended beyond the border box.
-
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.
- Which of the following property specifies the color of an outline?
-
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.
- Choose the option that correctly specifies the output of the following CSS.
span {
border: 1px solid red;
outline: green dotted thick;
}
-
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.
- Which of the following property is used to draw a line around elements outside the borders?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
Outlines do not take up space, they are drawn above the content.