Comment
In HTML, comments are used to add notes or explanations to the code that are not displayed in the browser. Comments can be used to leave notes for yourself or other developers working on the same code, to temporarily disable certain parts of the code, or to explain how a specific piece of code works.
Syntax
Everything between the opening <!--
and closing -->
is considered a comment and will not be displayed in the browser.
Example
My First HTML Page
Welcome to my website!
This is my first webpage created using HTML.
As you can see, comments are not rendered by the browser and are only visible in the source code. They can be used to provide explanations or notes about the code, which can be helpful for other developers who are working on the same code, or for yourself when you return to the code later.