Multiple choice technology web technology

How will you specify comments inside XML

  1. they begin with <!-- and end with -->

  2. they begin with # and end with none

  3. they begin with <? end with ?>

  4. they begin with -- and end with none

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

XML comments follow the same syntax as HTML and SGML comments. They start with . This is the standard way to add comments that XML parsers ignore during processing.