CSS Language | 10 Minute‐Test 17


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-volume?

A.
silent
B.
soft
C.
hard
D.
<number>

Your Answer: Option (Not Answered)

Correct Answer: Option C

Explanation:

Self-explainatory.

2.

Select the output of the following CSS.

div

{

border-width:5px;

border-style:dotted solid double dashed;

}

A.
Box having dotted top outline, solid right outline, double bottom outline and dashed left outline
B.
Box having dotted top outline, solid left outline, double bottom outline and dashed right outline
C.
Box having dotted bottom outline, solid right outline, double top outline and dashed left outline
D.
Box having dotted bottom outline, solid left outline, double top outline and dashed left outline

Your Answer: Option (Not Answered)

Correct Answer: Option A

Explanation:

The shorthand run in clockwise direction.

3.

____________ types are mutually exclusive in the sense that a user agent can only support one media type when rendering a document.

A.
tv
B.
tty
C.
media
D.
audio

Your Answer: Option (Not Answered)

Correct Answer: Option C

Explanation:

Media types are mutually exclusive in the sense that a user agent can only support one media type when rendering a document. However, user agents may use different media types on different canvases. For example, a document may (simultaneously) be shown in ‘screen’ mode on one canvas and ‘print’ mode on another canvas.

4.

Which of the following defines in a shorthand form the width, style, and color for the top border of an element?

A.
border-up
B.
border-bottom
C.
border-style
D.
none of the above

Your Answer: Option (Not Answered)

Correct Answer: Option D

Explanation:

Syntax: border-top: border-width border-style border-color;

5.

Which of the following property sets the base color for a scroll bar, which will include the scroll box, track, and scroll arrows?

A.
scrollbar-base
B.
scrollbar-base-color
C.
scrollbar-background
D.
none of the above

Your Answer: Option (Not Answered)

Correct Answer: Option C

Explanation:

Syntax: scrollbar-base-color: color

6.

Which of the following property specifies what line decorations, if any, are added to the text?

A.
text-decoration-line
B.
text-line-decoration
C.
text-decoration-style
D.
text-style-decoration

Your Answer: Option (Not Answered)

Correct Answer: Option A

Explanation:

Self-explainatory.

7.

Which of the following property specifies whether an element is an accelerator indicator or not?

A.
push
B.
accelerator
C.
jump-start
D.
animation

Your Answer: Option (Not Answered)

Correct Answer: Option B

Explanation:

Syntax: accelerator: true | false

8.

Which of the following Overflow property value is described by scrollbars should be provided if the content is too big, but actual implementation is left up to the browser?

A.
visible
B.
scroll
C.
auto
D.
hidden

Your Answer: Option (Not Answered)

Correct Answer: Option C

Explanation:

Self-explainatory.

9.

Which of the following property defines a shadow effect for text?

A.
box-shadow
B.
img-shadow
C.
text-shadow
D.
none of the above

Your Answer: Option (Not Answered)

Correct Answer: Option D

Explanation:

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.

10.

Which of the following property influences the horizontal alignment of an element, making it “float” toward the left or right margin of its containing element?

A.
float
B.
float-left
C.
float-right
D.
float-align
Submit your test now to view the Results and Statistics with answer explanation.