πŸ“Š CSS
Q. The CSS property used to specify whether the text is written in the horizontal or vertical direction?
  • (A) writing-mode
  • (B) text-indent
  • (C) word-break
  • (D) None of the above
πŸ’¬ Discuss
βœ… Correct Answer: (A) writing-mode
πŸ“Š CSS
Q. Which of the following syntax is correct in CSS to make each word of a sentence start with a capital letter?
  • (A) text-style : capital;
  • (B) transform : capitalize;
  • (C) text-transform : capital;
  • (D) text-transform : capitalize;
πŸ’¬ Discuss
βœ… Correct Answer: (D) text-transform : capitalize;
πŸ“Š CSS
Q. How to select the elements with the class name "example"?
  • (A) example
  • (B) #example
  • (C) .example
  • (D) Class example
πŸ’¬ Discuss
βœ… Correct Answer: (C) .example
πŸ“Š CSS
Q. Which of the following is the correct syntax to select all paragraph elements in a div element?
  • (A) div p
  • (B) p
  • (C) div#p
  • (D) div ~ p
πŸ’¬ Discuss
βœ… Correct Answer: (A) div p
πŸ“Š CSS
Q. Which of the following is the correct syntax to select the p siblings of a div element?
  • (A) p
  • (B) div + p
  • (C) div p
  • (D) div ~ p
πŸ’¬ Discuss
βœ… Correct Answer: (D) div ~ p
πŸ“Š CSS
Q. The CSS property used to draw a line around the elements outside the border?
  • (A) border
  • (B) outline
  • (C) padding
  • (D) line
πŸ’¬ Discuss
βœ… Correct Answer: (B) outline
πŸ“Š CSS
Q. Which of the following CSS property is used to add shadows to the text?
  • (A) text-shadow
  • (B) text-stroke
  • (C) text-overflow
  • (D) text-decoration
πŸ’¬ Discuss
βœ… Correct Answer: (A) text-shadow
πŸ“Š CSS
Q. Which of the following is not a value of the font-variant property in CSS?
  • (A) normal
  • (B) small-caps
  • (C) large-caps
  • (D) inherit
πŸ’¬ Discuss
βœ… Correct Answer: (C) large-caps
πŸ“Š CSS
Q. Which of the following CSS property is used to specify whether the table cells share the common or separate border?
  • (A) border-collapse
  • (B) border-radius
  • (C) border-spacing
  • (D) None of the above
πŸ’¬ Discuss
βœ… Correct Answer: (A) border-collapse
πŸ“Š CSS
Q. The CSS property used to make the rounded borders, or rounded corners around an element is
  • (A) border-collapse
  • (B) border-radius
  • (C) border-spacing
  • (D) None of the above
πŸ’¬ Discuss
βœ… Correct Answer: (B) border-radius