Multiple choice technology web technology

How to write comments in HTML

  1. Use * line *

  2. Use * Line *\

  3. Use {COMMENT} text {/COMMENT}

  4. Use // Comment (Java Style)

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

Pega HTML rules use a custom comment syntax with curly braces: {COMMENT} text {/COMMENT}. This is not standard HTML (which uses ), but specific to Pega's HTML rule format. The other options show incorrect syntaxes (* line *, // Comment) that aren't valid in Pega HTML.