HTML Comments

HTML Comment Tags

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

Html comments.JPG

Note: Comments are not displayed by the browser, but they can help document your HTML source code.

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

Example;                                                                              Tryit your self

Leave a comment