Multiple choice technology web 2.0

How do you add a comment into HTML?

  1. <-Comment->

  2. <--Comment-->

  3. <!--Comment-->

  4. <Comment/>

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The standard syntax for comments in HTML is . This prevents the enclosed text from being rendered by browsers. Distractors like <--Comment--> or <-Comment-> lack the correct exclamation mark and double-hyphen structure required by the HTML parser.