writting comments in html code example
Example 1: 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>
Example 2: how to write comment in html
<!-- a comment in html -->