html how to add comments code example
Example 1: commenting in html
<!-- a comment in html -->
Example 2: comments in html
<!-- This text is commented in html -->
Example 3: 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>