Test Series - css

Test Number 34/59

Q: Which of the following property sets in a shorthand form any or all background properties?
A. font
B. background
C. background-color
D. background-position
Solution: Syntax:
background: background-color background-image background-repeat background-attachment background- position;
Q: Which of the following property defines whether table cell borders are connected or separate?
A. border-style
B. border-collapse
C. border-color
D. border-bottom-width
Solution: Syntax: border-collapse: collapse | separate | inherit
Q: Which of the following property defines the style for the right border of an element?
A. border-left
B. border-right
C. border-right-style
D. border-style
Solution: Syntax:border-right-style: dashed | dotted | double | groove | hidden | inset | inherit | none | outset | ridge | solid
Q: Which of the following property defines the visual style of up to four different sides of a border?
A. border-width
B. border-top
C. border
D. border-style
Solution: Syntax: border-style: style [ style style style ]
Q: Which of the following property sets the coordinates of the clipping shape that exposes or hides the content of absolutely positioned elements?
A. clip
B. clamp
C. clip-wekit
D. clamp-webkit
Solution: Syntax: clip: rect(coordinates) | auto | inherit
Q: Which of the following property generates content in a document and is used with the :before and :after pseudo-elements?
A. text
B. content
C. contents
D. none of the mentioned
Solution: Syntax: content: normal | none | string
Q: Which of the following property controls CSS counter values?
A. counter
B. counter-increment
C. counter-decrement
D. none of the mentioned
Solution: Syntax: counter-increment: counter-name1 [integer] ... counter-nameN [integer] | none | inherit
Q: Which of the following property determines how the cursor displays when passed over the affected element?
A. mouse
B. cursor
C. click
D. focus
Solution: Syntax: cursor: url(address of cursor file)
Q: Which of the following property is used to control the text direction, much like the dir attribute for (X)HTML tags?
A. left
B. right
C. direction
D. direct
Solution: Syntax: direction: ltr | rtl | inherit
Q: Which of the following property specifies an element’s display type and can override an element’s defined presentation?
A. content
B. display
C. visibility
D. none of the mentioned
Solution: Syntax: display: inline | block | list-item

You Have Score    /10