Totally Secret Comments in Web Page File
Commenting things out with the HTML comment tag leaves the information in the source code. Using the browser's "view source" menu item, it can still be seen. It's not secret.
The video describes how to do it. Source code is below the video.
Same with making a div or other HTML container invisible — not secret.
But there is a way to make comments in a web page file secret, if it's a PHP page. It's so secret that the information is never even sent to the browser.
To make something secret in a PHP web page file, put the secret content between PHP code <?php if(false): ?>
and PHP code <?php endif; ?>
.
Example:
<?php if(false): ?> This content won't be seen, not even in web page source code obtained via a browser. <?php endif; ?>
Nothing between the first and last lines will be sent to the browser. In fact, even the first and last lines themselves will be kept back.
It's secret.
Will Bontrager