Exam-style question
Try this first
How can you specify a comment in a CSS file?.
- A.// comment
- B.<!-- comment -->
- C./* comment */
- D.# comment
Answer and explanation
Concise answer
/* comment */
Why this is correct
CSS comments are written using the /* comment */ syntax, allowing developers to include notes without affecting the code.
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
