ExamVeda
Login
Home
1
Which of the following property defines in a shorthand form the width, style, and color for the top border of an element?
Discuss
Answer & Solution
Answer: Option D
Solution:
Syntax: border-top: border-width border-style border-color;
2
Which of the following property sets the shadow for a box element?
Discuss
Answer & Solution
Answer: Option B
Solution:
Syntax:box-shadow: none | inherit
3
Which of the following property defines a shadow effect for text?
Discuss
Answer & Solution
Answer: Option D
Solution:
The shadow effects are applied in the order specified and may overlay each other, but they will never overlay the text itself. Each shadow effect must specify a shadow offset horizontally and vertically and may optionally specify a blur radius and a shadow color.
4
Which of the following property defines a shadow color for the right and bottom edges of a scroll bar?
Discuss
Answer & Solution
Answer: Option C
Solution:
Syntax: scrollbar-darkshadow-color: color
5
Which of the following property defines a color for the right and bottom edges of a scroll bar.
Discuss
Answer & Solution
Answer: Option D
Solution:
Syntax: scrollbar-shadow-color: color
6
Which of the following property sets list-style-type, list-style-position, and liststyle-image?
Discuss
Answer & Solution
Answer: Option B
Solution:
Syntax: list-style: list-style-type | list-style-position | list-style-image
7
Which of the following property assigns a graphic image to a list item?
Discuss
Answer & Solution
Answer: Option B
Solution:
Syntax: list-style-image: url(url of image) | none
8
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?
Discuss
Answer & Solution
Answer: Option C
Solution:
Syntax: list-style-position: inside | outside | inherit
9
Which of the following property defines labels for a list of items?
Discuss
Answer & Solution
Answer: Option D
Solution:
Syntax: list-style-type: disc | circle | square | decimal
10
Which of the following property defines in a shorthand form the width, style, and color for all four sides of an element’s border?
Discuss
Answer & Solution
Answer: Option A
Solution:
Example: div {border: 2px double red;}