HTML Comments

HTML Comments

HTML comments are not displayed in the browser, but they can help document your HTML source code.

Example

<!-- <p>This is a paragraph.</p> -->

Note: That there is an exclamation point (!) in the start tag, but not in the end tag.

Comments are also great for debugging HTML, because you can comment out HTML lines of code.

<!-- <p>This is a paragraph.</p> -->
<p>This paragraph contains</p>
<!--<h5 style="font-size:20px; color:blue">Heading 5 with css</h5>-->

Output:

This paragraph contains


Leave A Comment :