Commenting in HTML

HTML comments are not displayed in the browser, can see only web master working to coding.
With comments you can place notifications and reminders in your HTML.

Syntax:

<!--- some comment go here --->




HTML comments can also be added in the middle of a sentence. E.g:

My manager, Martin, looked like <!--- add a description later --->and didn't like being late.





In some situations, it is necessary to have multi-line comments, which can also be enabled.

<!---------------------------
first comment
second comment
third comment
---------------------------->



Using the HTML comment tag, it is possible to exclude some HTML elements and sections from the page without deleting them.

<!---------------------------
<img src="aeroplan.jpg">
<p> text about this aeroplan </p>
---------------------------->





Privacy Policy