Web technologies Questions | HTML Course | Practice Quiz 2 | Question 8

Which of the following is the correct CSS syntax?
(A) p:color=green, font-size=15px
(B) {p:color=green, font-size=15px}
(C) p {color:green, font-size:15px;}
(D) p {color:green; font-size:15px;}

Answer: (D)


Quiz of this Question
Please comment below if you find anything wrong in the above post

My Personal Notes arrow_drop_up
Article Tags :

Be the First to upvote.

Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.