HTML Comments

HTML Comments are used insert comments in HTML code.

Let's check how to use comment tag..


<!-- This is comment -->



Note: Comments are not displayed by browsers, they help in document your code.

Now, Let's check For hiding code in comments

Example For hiding code in Comments




<!-- Image code is here
<img src="abc.jpg">
Here Comment ends
-->



At Last,

Multiple Comments



<!-- 
This is comment.
This is comment.
This is comment.
This is comment.
-->

Back To Top