How to comment in HTML?

HTML comment


 <!-- This is a comment --> 


Anything you write within <!-- and -- > will become a comment and will not be rendered and shown by the any web browser.

HTML comment out


Comments are used to leave notes in your HTML code about your code.

Go from files to website in seconds.

Start a free trial for 7 days — no credit card required

Get Started for Free