HTML comments tag

HTML comments tag

HTML Comments are used to add a comment to an HTML file so it’s easy to find the code or find the specific location. It’s easy to recode and easy to remember section what is it for?. An HTML comment begins with <-- and the HTML comment closes with <–– . We can find the HTML comments in page source code. but are not rendered when the HTML document is rendered by a browser. We can write both single line and multiline comments.

<!-- Single line HTML comment -->
 
 
<!-- Example of a HTML multi-line comment -->

This is a heading