Comments are useful information about the HTML elements. Comments makes the HTML document more readable and understandable.
The comments in HTML begin with the tag
<!-- and end with
Notice that there is an exclamation point (!) in the opening tag, but not in the closing tag.
Comments are not displayed by the browser, but they can help document your HTML source code.
The browser will ignore anything you put inside these tags.
<!DOCTYPE HTML> <html> <head> <!-- metadata goes here --> <title>Example</title> </head> <body> This is the <code>content</code>. </body> </html>