Comment is nothing but it is a statement which is not display on browser window. It is useful to understand the which code is written for what purpose. Comment tags <!-- and --> are use for comment on html5 page.
<!-- Html5 comment -->
<!DOCTYPE html> <html lang="en"> <body> <!-- Html page --> <p>This is My Html Paragraph<p> <p>Html is simple and easy to learn<p> </body> </html>
This is My Html Paragraph
Html is Simple and easy to learn
In above example comments are not display on browser
Comment may be single line or multiline, syntax for multiline comment is given below.
<!-- Html Multi Line Comment -->
<!DOCTYPE html> <html lang="en"> <body> <!-- Html page Start from here --> <p>This is My Html Paragraph<p> <p>Html is simple and easy to learn<p> </body> </html>
This is My Html Paragraph
Html is simple and easy to learn