HTML Comments

Comment tags it is <!-- and --> used to insert comments in HTML.

HTML Comment Tags

you can comments to your HTML source by using the following syntax:

<!-- Write your comments here -->

Comments are generally not displayed by the browser,it help document your HTML.

With comments you can place notifications and reminders in your HTML Web Page


<!-- This is a comment -->

<p>This is a paragraph.</p>

<!-- Remember to add more information here -->
Try it yourself »

Comments are also great for debugging HTML, because you can comment out HTML lines of code, one at a time, to search for errors:


<!-- Do not display this at the moment
<img border="0" src="pic_mountain.jpg" alt="Mountain">
Try it Yourself »

Conditional Comments

You might stumble upon conditional comments in HTML:

<!--[if IE 10]>
    .... some HTML here ....

Conditional comments defines HTML tags to be executed by Internet Explorer only.

Software Program Tags

HTML comment tags are generated various software programs such as Firefox,chrome

For example <!--webbot bot--> tags wrapped inside HTML comments by FrontPage and Expression Web.

As a rule, let these tags stay, to help support the software that created them.