Advertisements
Advertisements
Question
What is wrong with the following CSS definition?
body (color = "black"; )Code Writing
Very Short Answer
Advertisements
Solution
Parentheses (instead of curly braces) and the equal sign (instead of a colon) are not allowed in CSS rules. The proper code looks like this:
body { color: "black"; }shaalaa.com
Is there an error in this question or solution?
