CSS Language | 10 Minute‐Test 4


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 attributes is used to specify elements to bind style rules to?

A.
id
B.
class
C.
tag
D.
all of the above

Your Answer: Option (Not Answered)

Correct Answer: Option D

Explanation:

None.

2.

Which of the following function with filter property to create your own sophisticated effects on DOM elements?

A.
create()
B.
DOM()
C.
custom()
D.
none of the above

Your Answer: Option (Not Answered)

Correct Answer: Option C

Explanation:

None.

3.

Which of the following value specifies whether the user agent is allowed to synthesize bold or oblique font faces when a font family lacks bold or italic faces?

A.
font-weight
B.
font-synthesis
C.
font-kerning
D.
font-variant

Your Answer: Option (Not Answered)

Correct Answer: Option B

Explanation:

None.

4.

What is the latest version of css available?

A.
CSS2
B.
CSS3
C.
CSS3.1
D.
CSS4

Your Answer: Option (Not Answered)

Correct Answer: Option B

Explanation:

None.

5.

h1 {color: "green";}
What will happen in this case?

A.
heading becomes green
B.
heading becomes dark-green
C.
error occors
D.
nothings happen

Your Answer: Option (Not Answered)

Correct Answer: Option D

Explanation:

None.

6.

Which of the following measurement defines a measurement relative to a font’s x-height?

A.
ex
B.
em
C.
pt
D.
px

Your Answer: Option (Not Answered)

Correct Answer: Option A

Explanation:

Defines a measurement relative to the height of a font in em spaces. Because an em unit is equivalent to the size of a given font, if you assign a font to 12pt, each em unit would be 12pt, thus 2em would be 24pt.

7.

Which of the following Color Format is a CSS2 introduced named color keywords which allows Web page colors to be matched to an operating system’s color use?

A.
HSLa Color
B.
Commonly defined named colors
C.
System Color Names
D.
Specificationdefined named colors

Your Answer: Option (Not Answered)

Correct Answer: Option C

Explanation:

None.

8.

Which of the following Color Format can also be defined using the keyword rgb, followed by three numbers between 0 and 255, contained in parentheses and separated by commas, with no spaces between them?

A.
RGB Color
B.
RGBa Color
C.
HSL Color
D.
HSLa Color

Your Answer: Option (Not Answered)

Correct Answer: Option A

Explanation:

p {color:rgb(0%,10%,50%);}

9.

Which of the following CSS property border-color property sets the color of an element’s four borders?

A.
border-background
B.
border-background-color
C.
border-color
D.
all of the mentioned

Your Answer: Option (Not Answered)

Correct Answer: Option C

Explanation:

The border-color property sets the color of an element’s four borders. This property can have from one to four values.

10.

Which of the following text-decoration value specifies each line of text has a line above it?

A.
line
B.
underline
C.
overline
D.
blink
Submit your test now to view the Results and Statistics with answer explanation.