how to comment out tags on html code example Example 1: how to comment in html <!-- your comment goes here --> Example 2: html comment <!--this is comment-->