Multiple choice technology web technology

In HTML, comments can be used as --

  1. /* This is a comment */

  2. 'This is a comment

  3. //This is a comment

  4. <!-- This is a comment -->

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

HTML comments use the syntax . Option A is JavaScript/C-style, option B is not valid HTML comment syntax, and option C is used in programming languages like JavaScript or C++.