HTML comment tag

Last Updated on April 26, 2023 by Roshan Parihar

HTML comment tag is used to put comments in HTML documents.

The comments are visible in source code and not in the browser.


Syntax

Output

This is the main heading

This is the paragraph content


Resources and References HTML comment tag

1. W3C Specification.
2. HTML living standard
3. W3C project using Github