CSS Language | 10 Minute‐Test 18


Instruction

  • Total number of questions : 10.
  • Time alloted : 10 minutes.
  • Each question carry 1 mark.
  • No Negative marks
  • DO NOT refresh the page.
  • All the best :-).

1.

Which of the following is not a appropriate value for voice-balance?

A.
left
B.
leftwards
C.
up
D.
centre

Your Answer: Option (Not Answered)

Correct Answer: Option C

Explanation:

Self-explainatory.

2.

Which of the following specifies the width of an outline?

A.
outline-size
B.
outline-width
C.
outline-height
D.
both a and b

Your Answer: Option (Not Answered)

Correct Answer: Option B

Explanation:

The outline-width CSS property is used to set the width of the outline of an element.

3.

If an @media/@import rule contains a malformed media type (not an identifier) then the statement is valid. State true or false.

A.
True
B.
False
C.
True and False
D.
Non of these

Your Answer: Option (Not Answered)

Correct Answer: Option B

Explanation:

@media and @import rules with unknown media types (that are nonetheless valid identifiers) are treated as if the unknown media types are not present. If an @media/@import rule contains a malformed media type (not an identifier) then the statement is invalid.

4.

Which of the following property defines the y (vertical) coordinate for a positioned element, relative to the bottom of the enclosing object or browser window?

A.
border
B.
bottom
C.
position
D.
none of the above

Your Answer: Option (Not Answered)

Correct Answer: Option B

Explanation:

Syntax: bottom: length | percentage | auto | inherit

5.

Which of the following property defines a color for the face of a scroll bar, including arrow regions and the scroll box?

A.
scrollbar-face
B.
scrollbar-face-color
C.
scrollbar-face-background
D.
scrollbar-background

Your Answer: Option (Not Answered)

Correct Answer: Option C

Explanation:

Syntax: scrollbar-face-color: color

6.

Which of the following property applies one or more shadows to text?

A.
text-shadow
B.
shadowed
C.
shadow
D.
word-shadow

Your Answer: Option (Not Answered)

Correct Answer: Option A

Explanation:

Self-explainatory.

7.

Which of the following property sets a variation of the specified or default font family?

A.
fonts
B.
font-style
C.
font-variant
D.
font-weight

Your Answer: Option (Not Answered)

Correct Answer: Option C

Explanation:

Syntax: font-variant: normal | small-caps

8.

Which of the following property sets a consistent margin on all four sides of the affected element?

A.
boder
B.
margin
C.
padding
D.
none of the above

Your Answer: Option (Not Answered)

Correct Answer: Option B

Explanation:

Self-explainatory.

9.

Which of the following property defines a shadow color for the right and bottom edges of a scroll bar?

A.
scrollbar-darkshadow
B.
scrollbar-shadow-color
C.
scrollbar-darkshadow-color
D.
none of the above

Your Answer: Option (Not Answered)

Correct Answer: Option C

Explanation:

Syntax: scrollbar-darkshadow-color: color

10.

Which of the following property sets the font face to be used for text?

A.
font
B.
font-text
C.
font-family
D.
none of the above
Submit your test now to view the Results and Statistics with answer explanation.