πŸ“Š CSS
Q. Which of the following CSS property is used to set the background image of an element?
  • (A) background-attachment
  • (B) background-image
  • (C) background-color
  • (D) None of the above
πŸ’¬ Discuss
βœ… Correct Answer: (B) background-image
πŸ“Š CSS
Q. Which of the following is the correct syntax to make the background-color of all paragraph elements to yellow?
  • (A) p {background-color : yellow;}
  • (B) p {background-color : #yellow;}
  • (C) all {background-color : yellow;}
  • (D) all p {background-color : #yellow;}
πŸ’¬ Discuss
βœ… Correct Answer: (A) p {background-color : yellow;}
πŸ“Š CSS
Q. Which of the following is the correct syntax to display the hyperlinks without any underline?
  • (A) a {text-decoration : underline;
  • (B) a {decoration : no-underline;}
  • (C) a {text-decoration : none;}
  • (D) None of the above
πŸ’¬ Discuss
βœ… Correct Answer: (C) a {text-decoration : none;}
πŸ“Š CSS
Q. Which of the following property is used as the shorthand property for the padding properties?
  • (A) padding-left
  • (B) padding-right
  • (C) padding
  • (D) All of the above
πŸ’¬ Discuss
βœ… Correct Answer: (C) padding
πŸ“Š CSS
Q. The CSS property used to make the text bold is -
  • (A) font-weight : bold
  • (B) weight: bold
  • (C) font: bold
  • (D) style: bold
πŸ’¬ Discuss
βœ… Correct Answer: (A) font-weight : bold
πŸ“Š CSS
Q. Are the negative values allowed in padding property?
  • (A) Yes
  • (B) No
  • (C) Can't say
  • (D) May be
πŸ’¬ Discuss
βœ… Correct Answer: (B) No
πŸ“Š CSS
Q. Which of the following property is used as the shorthand property of margin properties?
  • (A) margin-left
  • (B) margin-right
  • (C) margin
  • (D) None of the above
πŸ’¬ Discuss
βœ… Correct Answer: (C) margin
πŸ“Š CSS
Q. The CSS property used to specify the transparency of an element is -
  • (A) opacity
  • (B) filter
  • (C) visibility
  • (D) overlay
πŸ’¬ Discuss
βœ… Correct Answer: (A) opacity
πŸ“Š CSS
Q. Which of the following is used to specify the subscript of text using CSS?
  • (A) vertical-align: sub
  • (B) vertical-align: super
  • (C) vertical-align: subscript
  • (D) None of the above
πŸ’¬ Discuss
βœ… Correct Answer: (A) vertical-align: sub
πŸ“Š CSS
Q. Which of the following CSS property is used to specify the space between every letter inside an element?
  • (A) alpha-spacing
  • (B) character-spacing
  • (C) letter-spacing
  • (D) alphabet-spacing
πŸ’¬ Discuss
βœ… Correct Answer: (C) letter-spacing