How do you insert a comment in a CSS file?
-
// this is a comment
-
/* this is a comment */
-
' this is a comment
-
// this is a comment //
B
Correct answer
Explanation
In standard CSS, comments are written using /* to start and */ to end, allowing for both single and multi-line comments. The double-slash // syntax is JavaScript-style and not valid in CSS (though some CSS preprocessors may support it).