w3schools html comments code example Example 1: commenting in html <!-- a comment in html --> Example 2: html note <!-- This is an HTML note -->