How to write comments in HTML
Comments in HTML are typically used to explain code. This will help you and others find the specific section of the document quickly and easily when modifying the source code. Comments are not displayed by browsers.
An HTML comment begins with <!– and ends with –>. See the example below:
Example :
<!-- This is a single line HTML comment --> <!-- This is an example of Multiline HTML Comment --> <p class="test">Lorem ipsum</p>