What is the correct syntax for a CSS rule?

What is the correct syntax for a CSS rule?
A . selector { property = value; }
B . selector { property : value }
C . selector -> { property : value; }
D . { selector : property = value; }

Answer: B

Latest 030-100 Practice Questions with 80 Q&As

Updated Study Material | Instant Download | Detailed Answers and Explanations

Subscribe
Notify of
guest
0 Comments