correct way to code a comment in html code example Example 1: html comments <!-- Example Comment --> Example 2: comment in html <!-- a comment in html -->