How to add comments in Html (style sheet)? Adding an image, however, is a little more complicated. Property : /* */ CSS Commenting is very simple as any other language. A comment is a string of code or text within HTML, XML, CSS, JS and other programming languages that is not visible in your web browser.It serves to give some information about the code, to temporarily disable it, or to provide other feedback from the code developers. You can use the following HTML code to create a comment box within your HTML document. Follow Along. For example, i want to put "I begin my comments here" as a note in my html code. So avoid use of excessive comments. just follow these steps: 1. start with "