Agyan
adda
Run
Reset
Copy
HTML Tutorial › HTML Comments › Single and multi-line comments
Back to tutorial
Code
Edit, then press Run or Ctrl+Enter
<!-- This is a single-line comment --> <p>This paragraph is visible.</p> <!-- This is a comment over several lines. --> <!-- <p>This paragraph is hidden while testing.</p> --> <p>Only two paragraphs appear on the page.</p>
Result