Why in CSS, we have to start with /* and end with */ ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Why in CSS, we have to start with /* and end with */ ?

Please reply...

17th Dec 2020, 8:31 AM
Carbon dioxide
Carbon dioxide - avatar
4 Answers
+ 3
Thank you for the answer I Am Groot ... That answer increase my knowledge... I say thank you...
17th Dec 2020, 8:55 AM
Carbon dioxide
Carbon dioxide - avatar
+ 2
Yeah i know that's use for comments... But Why ?
17th Dec 2020, 8:47 AM
Carbon dioxide
Carbon dioxide - avatar
+ 1
Jeff's JK That's use for comments. We never write CSS inside /* and */ If you write then it will be comment.
17th Dec 2020, 8:46 AM
A͢J
A͢J - avatar
+ 1
Jeff's JK Because other people can understand what is going on.
17th Dec 2020, 8:48 AM
A͢J
A͢J - avatar