πŸ“Š HTML
Q. What is the correct syntax of the following CSS code?
  • (A) Body:color=black
  • (B) {body;color:black}
  • (C) {body:color=black(body}
  • (D) Body {color: Black}
πŸ’¬ Discuss
βœ… Correct Answer: (D) Body {color: Black}

Explanation: This defines the text color for the “body” element. Anything you apply to the “body” element in CSS will affect the whole page.

Explanation by: Tina Singh
This defines the text color for the “body” element. Anything you apply to the “body” element in CSS will affect the whole page.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
178
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Tina Singh
Publisher
πŸ“ˆ
89%
Success Rate