HTML Comment
- In HTML, a comment is a section of text that is not processed by the web browser. Comments are enclosed in <!-- ..... --> tags.
- These tags tell the browser that the text inside them is a comment and should not be rendered on the front end.
Example:
<!DOCTYPE html>
<head>
<title> HTML Comments</title>
<html>
</head>
<body>
<!-- This is a comment -->
<p>This is a paragraph.</p>
<!-- Comments are not displayed in the browser -->
</body>
</html>