How to add comments in HTML?
Updated On: 2024-06-02
HTML comment tag is a special tag that does not affect the browser results but helps the developers. HTML comment tag enhancing code readability, facilitate collaboration, and can be used to temporarily disable code segments.
HTML comment tag
<!--This is heading Tag-->
Ways to comment in HTML
We can comment in two ways in HTML. They are Single line comment and Multi-line comment.
Single line comment example
Multi-line comment tag
Related video
Related Resources
For more information, you can use the following resources: