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

# HTML Comments

### HTML Comment Tag

You can add comments to your HTML source by using the following syntax:

{% code overflow="wrap" lineNumbers="true" %}
```markup
<!-- Write your comments here -->

<!-- Write your comments here -->
<!-- This is a comment -->

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

<!-- Remember to add more information here -->

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

Hide a section of HTML code:

<p>This is a paragraph.</p>
<!--
<p>Look at this cool image:</p>
<img border="0" src="pic_trulli.jpg" alt="Trulli">
-->
<p>This is a paragraph too.</p>

```
{% endcode %}
