Home > MCQs > IT & Programming > CSS MCQs

CSS MCQ

CSS Quick Quiz

Question 1 of 10
  • Which property specifies whether a border should be solid, dashed line, doted line, double line, groove etc.?

    Answer & Explanation

    Correct Answer: border-style

    Note: This Question is unanswered, help us to find answer for this one

  • What does the background-color property do?

    Answer & Explanation

    Correct Answer: Specifies the background color of an element

    Note: This Question is unanswered, help us to find answer for this one

  • Which of the following is NOT a common browser layout engine that determines CSS default styles?

    Answer & Explanation

    Correct Answer: Commando

    Note: This Question is unanswered, help us to find answer for this one

  • A universal selector is specified using a(n) ___.

    Answer & Explanation

    Correct Answer: "*" character

    Note: This Question is unanswered, help us to find answer for this one

  • Which of the following elements takes up the full width available, and has a line break before and after it?

    Answer & Explanation

    Correct Answer: Block element

    Note: This Question is unanswered, help us to find answer for this one

  • Which property is used to specify typefaces ?

    Answer & Explanation

    Correct Answer: font-family

    Note: This Question is unanswered, help us to find answer for this one

  • A rotary mower cuts grass when the whirling mower blade _________ the grass.

    Answer & Explanation

    Correct Answer: Impacts

    Note: This Question is unanswered, help us to find answer for this one

  • The ________________ specifies whether a border should be solid, dashed line, doted line, double line, groove etc.

    Answer & Explanation

    Correct Answer: border-style

    Note: This Question is unanswered, help us to find answer for this one

  • How would you define class 'myclass' that sets the width of an element to 640px and the height to 480px ?

    Answer & Explanation

    Correct Answer: .myclass {width: 640px; height: 480px;}

    Note: This Question is unanswered, help us to find answer for this one

  • What property is used with the :before and :after pseudo-elements to insert generated content?

    Answer & Explanation

    Correct Answer: content

    Note: This Question is unanswered, help us to find answer for this one

  • CSS Quick Quiz

    battery

    Poor Results!

    You need a lot of improvement.

    Just don't give up!

    Correct Answers: 0/10

    Start Practicing with our MCQs given below.