Commerce

Basic Css MCQs

Practice Basic Css MCQs for competitive exams.

Basic Css MCQs

Practice questions from this topic.

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

  1. A. vh
  2. B. vmin
  3. C. vw
  4. D. ch
Report Error

Which of the following is not an Absolute Unit?

  1. A. px
  2. B. em
  3. C. pt
  4. D. mm
Report Error

What does HSL stands for?

  1. A. Hue Specified Lightness
  2. B. Hue Spot Lightness
  3. C. Hue Saturation Lightness
  4. D. None of the mentioned
Report Error

Which of the following Selector same as :firstline; changed under CSS3 to make pseudoelements obvious?

  1. A. :first-letter
  2. B. :last-child
  3. C. :first-line
  4. D. ::first-line
Report Error

Which of the following Selector selects an element if it’s the only child of its parent with its type?

  1. A. @media
  2. B. :target
  3. C. ::selection
  4. D. :only-of-type
Report Error

Which of the following Color Format is a CSS3 HSL value with a fourth value to set the alpha channel value for the color to define the opacity of the element?

  1. A. RGB Color
  2. B. RGBa Color
  3. C. HSL Color
  4. D. HSLa Color
Report Error

Which of the following Color Format is a CSS colors can also be defined using the keyword rgb, followed by three numbers between 0 and 255, contained in parentheses and separated by commas, with no spaces between them?

  1. A. RGB Color
  2. B. RGBa Color
  3. C. HSL Color
  4. D. HSLa Color
Report Error

Which of the following Color Format are a 17 defined colors under CSS 2.1?

  1. A. HSLa Color
  2. B. Commonly defined named colors
  3. C. System Color Names
  4. D. Specificationdefined named colors
Report Error

Which of the following Color Format is a CSS2 introduced named color keywords which allows Web page colors to be matched to an operating system’s color use?

  1. A. HSLa Color
  2. B. Commonly defined named colors
  3. C. System Color Names
  4. D. Specificationdefined named colors
Report Error

Which of the following Color Format is a CSS’s six-digit hexadecimal format is the same as color defined in (X)HTML?

  1. A. 6-Hex Color
  2. B. 3-Hex Color
  3. C. RGBS
  4. D. RGBa
Report Error

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

  1. A. RGB
  2. B. RGBa
  3. C. RGBaplha
  4. D. AlphaRGB
Report Error

Which of the following CSS3 Color Feature can be used as a macro for whatever the current color is?

  1. A. CurrentColor keyword
  2. B. HSLa Color
  3. C. HSL Color
  4. D. RGB Color
Report Error