how hide a html code example
Example 1: how hide in html
#elementID{
display:none;
}
Example 2: how to hide div in html
document.getElementById('elementName').hide();
Example 3: how to hide code in html
<!DOCTYPE html>
<html>
<body>
<!-- This is a comment -->
<p>This is a paragraph.</p>
<!-- Comments are not displayed in the browser -->
</body>
</html>