CSS Quiz Question with Answer

11. Which selector is are used to specify a group of elements

  1. name
  2. id
  3. class
  4. tag

12. Which property is used in CSS to change the background color?

  1. bgcolor:
  2. backgrounf-color:
  3. color:
  4. back-color:

13. How do you insert a comment in a CSS file?

  1. /* this is a comment /*
  2. /* this is a comment */
  3. // this is a comment
  4. // this is a comment //

14. Which is the correct CSS syntax?

  1. {body:color=black(body}
  2. body {color: black}
  3. {body;color:black}
  4. body:color=black

15. Which of the following selects a normal, or small-caps face from a font family?

  1. font-weight
  2. font-synthesis
  3. font-variant
  4. font-kerning

16. Which of the following value of cursor shows it as a pointing hand?

  1. crosshair
  2. default
  3. move
  4. pointer

17. Which of the following property specifies a shorthand property for setting the margin properties in one declaration?

  1. margin
  2. margin-top
  3. margin-bottom
  4. margin-left

18. Which of the following property specifies the width of a border?

  1. border-color
  2. border-bottom-color
  3. border-style
  4. border-width

19. Which of the following property is used to increase or decrease the size of a font?

  1. font-weight
  2. font-variant
  3. font-size
  4. font

20. Which of the following property is used to make a font italic or oblique?

  1. font-variant
  2. font-style
  3. font-weight
  4. font-family

Tags :

Multiple Choice Questions and Answers on CSS

CSS Multiple Choice Questions and Answers

CSS Trivia Quiz

CSS Question and Answer PDF Online

Spreading Knowledge Across the World

USA - United States of America  Canada  United Kingdom  Australia  New Zealand  South America  Brazil  Portugal  England  Scotland  Norway  Ireland  Denmark  France  Spain  Poland  Netherland  Germany  Sweden  South Africa  Ghana  Tanzania  Nigeria  Kenya  Ethiopia  Zambia  Singapore  Malaysia  India  Pakistan  Nepal  Taiwan  Philippines  Libya  Cambodia  Hong Kong  China  UAE - Saudi Arabia  Qatar  Oman  Kuwait  Bahrain  Dubai  Israil  and many more....