In HTML, comments are used to insert notes or explanations within the code that will not be displayed on the webpage. They are helpful for documenting the code, leaving reminders, or temporarily disabling parts of the code during development.
<!--
and end with -->
.Output
In this example: