T

Tina Singh • 10.85K Points
Tutor II

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}
  • Correct Answer - Option(D)
  • Views: 106
  • Filed under category HTML

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.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics