πŸ“Š CSS
Q. Which of the following CSS property sets what kind of line decorations are added to an element, such as underlines, overlines, etc?
  • (A) text-decoration
  • (B) text-style
  • (C) text-decoration-line
  • (D) text-line
πŸ’¬ Discuss
βœ… Correct Answer: (C) text-decoration-line
πŸ“Š CSS
Q. Which of the following CSS property specifies the look and design of an outline?
  • (A) outline-style
  • (B) outline-format
  • (C) outline-font
  • (D) none of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (A) outline-style
πŸ“Š CSS
Q. What will be the output of the following CSS code snippet?
Code:
span {
	border: 1px solid red;
        outline: green dotted thick;
}
  • (A) All span elements will have a green thick border and a red outline
  • (B) All span elements will have a red border and a green dotted outline
  • (C) All span elements will have a outer green dotted border and an inner red border
  • (D) All span elements will have an outer red border and inner green dotted border
πŸ’¬ Discuss
βœ… Correct Answer: (C) All span elements will have a outer green dotted border and an inner red border
πŸ“Š CSS
Q. Which of the following CSS property sets the shadow for a box element?
  • (A) set-shadow
  • (B) box-shadow
  • (C) shadow
  • (D) canvas-shadow
πŸ’¬ Discuss
βœ… Correct Answer: (B) box-shadow
πŸ“Š CSS
Q. Which of the following CSS property is used to set the color of the text?
  • (A) text-decoration
  • (B) pallet
  • (C) colour
  • (D) color
πŸ’¬ Discuss
βœ… Correct Answer: (D) color
πŸ“Š CSS
Q. Which of the following CSS Property controls how an element is positioned?
  • (A) static
  • (B) position
  • (C) fix
  • (D) set
πŸ’¬ Discuss
βœ… Correct Answer: (B) position
πŸ“Š CSS
Q. Which of the following CSS selector selects the elements that are checked?
  • (A) :checked
  • (B) E ~ F
  • (C) ::after
  • (D) none of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (A) :checked
πŸ“Š CSS
Q. Which of the following is an appropriate value for the overflow element?
  • (A) scroll
  • (B) hidden
  • (C) auto
  • (D) all of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (D) all of the mentioned
πŸ“Š CSS
Q. Which of the following CSS property is used to specify table borders in CSS?
  • (A) table:border
  • (B) table
  • (C) border
  • (D) none of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (C) border
πŸ“Š CSS
Q. Which of the following property is used to align the text in a table?
  • (A) text-align
  • (B) align
  • (C) text
  • (D) none of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (A) text-align