1. Home
  2. Computer Science MCQs
  3. HTML
  4. CSS comments are inserted inside .

Added 20 Jan 2024

CSS comments are inserted inside .

  1. //……………….//
  2. <!………………>
  3. /*………………*/ Correct answer
  4. All of the above

Correct answer

C. /*………………*/

13 views

MCQSEXAM

Explanation

CSS comments are written between /* and */. Anything inside is ignored by the browser, and a comment may span several lines.

CSS does not support // single-line comments, and <!-- --> is HTML comment syntax, not CSS.

Practise more Computer Science MCQs with answers and explanations on MCQsExam.com.

Doubts & discussion

Not sure why the answer is C? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More HTML MCQs

Practise all HTML MCQs

Similar MCQs