CSS Lists
- Which of the following property defines in a shorthand form the width, style, and color for all four sides of an element’s border?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
div {border: 2px double red;}
- Which of the following property defines labels for a list of items?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
Syntax: list-style-type: disc | circle | square | decimal
- Which of the following property specifies whether the labels for an element’s list items are positioned inside or outside the “box” defined by the listed item?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
Syntax: list-style-position: inside | outside | inherit
- Which of the following property assigns a graphic image to a list item?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
Syntax: list-style-image: url(url of image) | none
- Which of the following property sets list-style-type, list-style-position, and liststyle-image?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
Syntax: list-style: list-style-type | list-style-position | list-style-image