Question
What will happen in this case?
h1 {color: "green";}
h1 {color: "green";}
Answer: Option D
Explanation: The correct syntax for setting the color of a heading using CSS is h1 {color: green;}, not h1 {color: "green";}. The quotation marks around the color value are not valid so it nothing will happen. as Error in css is ignored
Was this answer helpful ?
Explanation: The correct syntax for setting the color of a heading using CSS is h1 {color: green;}, not h1 {color: "green";}. The quotation marks around the color value are not valid so it nothing will happen. as Error in css is ignored
Was this answer helpful ?
Submit Solution