How to add comments in HTML?
HTML comments are placed in between <!-- ... -->
tags. So, any content placed with-in <!-- ... -->
tags will be treated as a comment and will be completely ignored by the browser.
<HTML>
<head> <!-- Comment Goes Here -->
<title>This is document title</title>
</head> <!-- Comment Goes Here -->
<body>
<p>Document content goes here.....</p>
</body>
</html>
1 Like
Thanks, I got my doubt cleared