CSS Quiz | Set-1

Last Updated :
Discuss
Comments

Question 1

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

Question 2

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

  • <style src = quiz.css>

  • <style src = "quiz.css">

  • <stylesheet> quiz.css </stylesheet>

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

  • bg color

  • color-background

  • background-color

  • color

Question 4

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

Question 5

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

  • text-decoration: line

  • text-decoration: none

  • text-decoration: overline

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

  • text-indent property

  • text-underlne-property

  • text-decoration none

  • text-overflow property

Question 7

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

Question 8

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

  • font-stretch

  • font-weight

  • text-transform

  • font-variant

Question 9

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

  • Hover

  • Opacity

  • Transparent

  • Overlay

Question 10

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

  • text-stroke

  • text-transform

  • text-decoration

  • None of the above

There are 15 questions to complete.

Take a part in the ongoing discussion