HTML Comment Tag
Comment ( <!– –> ) tag is used to write the comment in the code and this comment would not shown on webpage by the browsers. Whenever we write any complex code in HTML then we can write the comments for each line of code to make understand. If other person read your complex code he/she can understand the code by your comments.
<!-- It's a comment tag -->
<html> <head> <title>Page Title</title> </head> <body> <!-- It's a paragraph tag --> <p> It's my paragraph </p> <!-- It's a heading tag --> <h1> It's my heading </h1> </body> </html>
Browser hides those comments and shown only heading and paragraph text.
Note: If you have rough code you can comment that to hide.