HTML Comments
HTML Comments
HTML comments are not displayed in the browser, but they can help document your HTML source code.
You can add comments to your HTML source by using the following syntax:
<!-- Write your comments here -->
Notice that there is an exclamation point (!) in the start tag, but not in the end tag.
Example
<!-- This is a comment --> <p>This is a paragraph.</p> <!-- Remember to add more info here -->
Click on the "Try it Yourself" button to see how it works.
Try it Yourself »