Comment is a piece of code which is ignored by any web browser. It is added to the code to add extra information about the code. It is a good practice to add comments into your HTML code, especially in complex documents, to indicate sections of a document, and any other notes to anyone looking at the code.
An HTML element is defined by a starting tag. If the element contains other content then it ends with a closing tag where the element name is preceded by a forward slash. The syntax of HTML element is: