CSS Quiz | Set-1

Last Updated :
Discuss
Comments

Question 1

Which of the below is the abbreviation of CSS ?
  • A
    Cascade sheets style
  • B
    Color and style sheets
  • C
    Cascading style sheets
  • D
    Coded Style Sheet

Question 2

Which of the following is the correct syntax to add the external stylesheet in CSS?

  • A

    <style src = quiz.css>

  • B

    <style src = "quiz.css">

  • C

    <stylesheet> quiz.css </stylesheet>

  • D

    <link rel="stylesheet" type="quiz/css" href="quiz.css">

Question 3

Which of the below CSS properties is used to change the background color of CSS ?

  • A

    bg color

  • B

    color-background

  • C

    background-color

  • D

    color

Question 4

Which of the below CSS class is used to change the text color of CSS ?
  • A
    background-color
  • B
    color
  • C
    color-background
  • D
    None of the above

Question 5

Which of the below is the correct syntax to put a line over text in CSS?

  • A

    text-decoration: line

  • B

    text-decoration: none

  • C

    text-decoration: overline

  • D

    text-decoration: underline

Question 6

Which below property of CSS is used to set the indentation of the first line in a block of text ?

  • A

    text-indent property

  • B

    text-underlne-property

  • C

    text-decoration none

  • D

    text-overflow property

Question 7

Which of the below CSS properties represent the order of flex items in the grid container ?
  • A
    order
  • B
    float
  • C
    overflow
  • D
    All of the above

Question 8

How do we set the default width of the font in CSS ?

  • A

    font-stretch

  • B

    font-weight

  • C

    text-transform

  • D

    font-variant

Question 9

Which element is used to represent the transparency of an element in CSS ?

  • A

    Hover

  • B

    Opacity

  • C

    Transparent

  • D

    Overlay

Question 10

Which of the below CSS property is used to add a stroke in the text ?

  • A

    text-stroke

  • B

    text-transform

  • C

    text-decoration

  • D

    None of the above

There are 15 questions to complete.

Take a part in the ongoing discussion