how to add comment to html code example Example 1: how to comment in html <!-- your comment goes here --> Example 2: html note <!-- This is an HTML note -->