CSS Language | 10 Minute‐Test 5


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.

________ selectors, which are used to specify a rule to bind to a particular unique element

A.
id
B.
class
C.
tag
D.
both (b) and (c)

Your Answer: Option (Not Answered)

Correct Answer: Option A

Explanation:

None.

2.

Which of the following function converts an element’s color to a shade of gray, for use by the filter property?

A.
shade()
B.
grayscale()
C.
black()
D.
brightness()

Your Answer: Option (Not Answered)

Correct Answer: Option B

Explanation:

A decimal value between 0 and 1 or percentage up to 100% controls the extent of the gray effect.

3.

Which of the following selects a normal, or small-caps face from a font family?

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

Your Answer: Option (Not Answered)

Correct Answer: Option D

Explanation:

None.

4.

What is the CSS Property Equivalent for the attribute <font>?

A.
font-family
B.
font-size
C.
color
D.
all of the above

Your Answer: Option (Not Answered)

Correct Answer: Option B

Explanation:

None.

5.

Which of the following is the correct way to applying style to a document?

A.
Use an external style sheet, either by importing it or by linking to it.
B.
Directly embed a document-wide style in the head element of the document.
C.
Set an inline style rule using the style attribute directly on an element.
D.
All of the above

Your Answer: Option (Not Answered)

Correct Answer: Option D

Explanation:

None.

6.

Which of the following measurement defines a measurement as a percentage?

A.
%
B.
cm
C.
em
D.
in

Your Answer: Option (Not Answered)

Correct Answer: Option A

Explanation:

Defines a measurement as a percentage. Percentages are denoted by a number followed by the % symbol and are always relative to another value such as length. Quite often they are used to specify some value relative to an inherited value from a parent element.

7.

Which of the following Color Format are a 17 defined colors under CSS 2.1?

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

Your Answer: Option (Not Answered)

Correct Answer: Option D

Explanation:

maroon (#800000) red (#ff0000)
orange (#ffA500) yellow (#ffff00)
olive (#808000) purple (#800080)
fuchsia (#ff00ff ) white (#ffffff)
lime (#00ff00) green (#008000)
navy (#000080) blue (#0000ff)
aqua (#00ffff) teal (#008080)
black (#000000) silver (#c0c0c0)
gray (#808080)
Other color keywords may be commonly used but are ad hoc in their definition.

8.

Which of the following is not a attribute of the audio element?

A.
controls
B.
src
C.
check
D.
loop

Your Answer: Option (Not Answered)

Correct Answer: Option C

Explanation:

None.

9.

Choose the CSS property that can be used for collapsing the borders between table cells?

A.
border
B.
collapse-border
C.
border-collapse
D.
border-cell

Your Answer: Option (Not Answered)

Correct Answer: Option C

Explanation:

The border-collapse property sets whether the table borders are collapsed into a single border or detached as in standard HTML

10.

Which of the following

A.
text-overline
B.
text-overline-decoration
C.
text-overline-width
D.
text-decoration-overline-width
Submit your test now to view the Results and Statistics with answer explanation.