HTML Comments
HTML Comment is not displayed in browser. Comment is used so that later the code can be understood why it was written. Comment HTML page can be written anywhere. With the help of comment, the subject matter of the code is understood. The code can be hidden using comments. The method of writing the comments is shown below.
Example
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<!-- This is a heading code -->
<h1>Hello World!</h1>
<p>paragraph</p>
<!-- <p>Lorem, ipsum dolor sit amet consectetur adipisicing elit. Dolores, aut.</p> -->
</body>
</html>