Tutorial

HTML Comments

While this tutorial has content that we believe is of great benefit to our community, we have not yet tested or edited it to ensure you have an error-free learning experience. It's on our list, and we're working on it! You can help us out by using the "report an issue" button at the bottom of the tutorial.

Wondering how to use comments in HTML? Here’s the syntax:

<!-- I'm a comment yo! -->

In this second example, we’re using an HTML comment to comment out some markup:

<!-- Can't touch this
  <p>MC Hammer</p>
-->

0 Comments

Creative Commons License