Commerce

Basic Css MCQs

Practice Basic Css MCQs for competitive exams.

Basic Css MCQs

Practice questions from this topic.

Which of the following function defines a linear gradient as a CSS image?

  1. A. grayscale()
  2. B. gradient()
  3. C. image()
  4. D. linear-gradient()
Report Error

Which of the following function applies a saturation effect to an element’s color, making it appear more or less vivid, for use by the filter property?

  1. A. color()
  2. B. saturation()
  3. C. saturate()
  4. D. none of the mentioned
Report Error

Which of the following function flips an element’s colors, for use by the filter property?

  1. A. image()
  2. B. flip()
  3. C. invert()
  4. D. contrast()
Report Error

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

  1. A. shade()
  2. B. grayscale()
  3. C. black()
  4. D. brightness()
Report Error

Which of the following function with filter property to create your own sophisticated effects on DOM elements?

  1. A. create()
  2. B. DOM()
  3. C. custom()
  4. D. none of the mentioned
Report Error

Which of the following function adjusts the difference between light and dark values, for use by the filter property?

  1. A. contrast()
  2. B. dark()
  3. C. light()
  4. D. brightness()
Report Error

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

  1. A. contrast()
  2. B. dark()
  3. C. light()
  4. D. brightness()
Report Error

Which of the following element is used by the filter property to blur the images?

  1. A. opaque()
  2. B. scatter()
  3. C. blur()
  4. D. all of the mentioned
Report Error

Is it the best way to include H1 heading only one time in the web page. State true or false.

  1. A. True
  2. B. False
Report Error

__________ implementation that introduced text, list, box, margin, border, color, and background properties.

  1. A. css
  2. B. html
  3. C. ajax
  4. D. php
Report Error

_________ selectors, which are used to specify a group of elements

  1. A. id
  2. B. class
  3. C. tag
  4. D. both (B) and (C)
Report Error

In css what does “font-size” can be called as

  1. A. Selector
  2. B. Rule
  3. C. Property
  4. D. Property-Name
Report Error