CSS Language | 10 Minute‐Test 2


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.

In css what does h1 can be called as

A.
Selector
B.
Attribute
C.
Value
D.
Tag

Your Answer: Option (Not Answered)

Correct Answer: Option A

Explanation:

None.

2.

Which of the following function adjust the brightness of an element’s color, for use by the filter property?

A.
contrast()
B.
dark()
C.
light()
D.
brightness()

Your Answer: Option (Not Answered)

Correct Answer: Option D

Explanation:

A value of 100% or decimal value of 1 leaves the image as is, while 0 produces black. Increasing the value from 1 or 100% brightens pixels from their original values.

3.

Which of the following property allows contextual adjustment of inter-glyph spacing, i.e. the spaces between the characters in text?

A.
font-style
B.
font-family
C.
font-kerning
D.
font-variant

Your Answer: Option (Not Answered)

Correct Answer: Option C

Explanation:

None.

4.

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

A.
color
B.
margin
C.
align
D.
none

Your Answer: Option (Not Answered)

Correct Answer: Option B

Explanation:

Values for margin such as auto generally are used when centering blocks with textalign for content.

5.

___________ has a grammar but unlike traditional (X)HTML it is not defined with a document type definition.

A.
CSS 1
B.
CSS 2
C.
CSS 2.1
D.
CSS 3

Your Answer: Option (Not Answered)

Correct Answer: Option C

Explanation:

CSS 2.1 has a grammar (www.w3.org/TR/CSS21/grammar.html) but unlike traditional (X)HTML it is not defined with a document type definition. Instead the CSS specification is a combination of prose and a grammar that could be used to build a simple parser.

6.

Which of the following tag can be used to embed a Document-wide styles in a document’s head element?

A.
<head>
B.
<style>
C.
<script>
D.
<html>

Your Answer: Option (Not Answered)

Correct Answer: Option B

Explanation:

Document-wide styles can be embedded in a document’s head element using the <style>tag.

7.

Which of the following CSS3 Color Feature like RGB color but adds an alpha channel value to specify the opacity of the color?

A.
RGB
B.
RGBa
C.
RGBaplha
D.
AlphaRGB

Your Answer: Option (Not Answered)

Correct Answer: Option B

Explanation:

An RGBa is specified via a function style rgba(r,g,b,a) value, where colors r, g, and b are specified as a decimal value from 0 to 255 or a percentage from 0 to 100%, and the alpha channel value for defining opacity is a number between 0 (fully transparent) and 1 (fully opaque). Values outside this range will be rounded up or down to fit the closest value.

8.

Which of the following unit represent the viewport’s width?

A.
vh
B.
vmin
C.
vw
D.
ch

Your Answer: Option (Not Answered)

Correct Answer: Option C

Explanation:

None.

9.

Identify the CSS property defining bottom-left corner shape of the border?

A.
border-radius
B.
border-corner-radius
C.
border-bottom-left-radius
D.
border-left-radius

Your Answer: Option (Not Answered)

Correct Answer: Option C

Explanation:

CSS3 border-radius property allows you can give any element “rounded corners”.

10.

Which of the following sets the color of any text decoration, such as underlines, overlines, and strike throughs?

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