πŸ“Š CSS
Q. What does SVG stands for?
  • (A) Scaled Vector Graphics
  • (B) Scaled Vector Graph
  • (C) Scalable Vector Graphics
  • (D) All of above
πŸ’¬ Discuss
βœ… Correct Answer: (C) Scalable Vector Graphics
πŸ“Š CSS
Q. Which of the following element is used to begin an SVG image?
  • (A) <img>
  • (B) <image>
  • (C) <graph>
  • (D) <svg>
πŸ’¬ Discuss
βœ… Correct Answer: (D) <svg>
πŸ“Š CSS
Q. Which of the following element is used to create a SVG rectangle?
  • (A) <square>
  • (B) <rect>
  • (C) <rectangle>
  • (D) <polygon>
πŸ’¬ Discuss
βœ… Correct Answer: (B) <rect>
πŸ“Š CSS
Q. Which of the following element is used to create a circle?
  • (A) <round>
  • (B) <circle>
  • (C) <ellipse>
  • (D) <cir>
πŸ’¬ Discuss
βœ… Correct Answer: (B) <circle>
πŸ“Š CSS
Q. Which of the following element is used to create an SVG ellipse?
  • (A) <curve>
  • (B) <circle>
  • (C) <ellipse>
  • (D) All of above
πŸ’¬ Discuss
βœ… Correct Answer: (C) <ellipse>
πŸ“Š CSS
Q. How to write a comment in CSS?
  • (A) /* comment */
  • (B) // comment //
  • (C) / comment /
  • (D) <‘ comment ‘>
πŸ’¬ Discuss
βœ… Correct Answer: (A) /* comment */
πŸ“Š CSS
Q. What css property would you use if you wanted to add a margin between the border of a DIV and its interior text?
  • (A) spacing
  • (B) margin
  • (C) padding
  • (D) inner-margin
πŸ’¬ Discuss
βœ… Correct Answer: (C) padding
πŸ“Š CSS
Q. Which CSS property is used to control the text size of an element?
  • (A) font-style
  • (B) text-size
  • (C) font-size
  • (D) text-style
πŸ’¬ Discuss
βœ… Correct Answer: (C) font-size

Explanation: The “font-size” property allows you to define the font size for different elements. Example:
div { font-size: 15px; }

πŸ“Š CSS
Q. The default value for the “position” attribute is _________
  • (A) fixed
  • (B) absolute
  • (C) inherit
  • (D) relative
πŸ’¬ Discuss
βœ… Correct Answer: (D) relative

Explanation: The “position” property specifies the type of positioning used for an element (it can be static, relative, fixed, absolute or sticky).

πŸ“Š CSS
Q. How to make all paragraphs “RED”?
  • (A) p.all {color: red;}
  • (B) p.all {color: #AA0000;}
  • (C) all.p {color: #0000FF;}
  • (D) p {color: red;}
πŸ’¬ Discuss
βœ… Correct Answer: (D) p {color: red;}

Explanation: HTML colors are specified using their names or with RGB, HEX, HSL, RGBA, HSLA values.