code comments in html code example
Example 1: commenting in html
<!-- a comment in html -->
Example 2: comment text in html
<div>
<p>This text is visible. Check the source code for multi-line comment.</p>
<!--
Hello, world! I am a comment and I am
displayed in multiple lines!
-->
</div>