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
Was this blog post helpful to you? (anonymous form)
All information in WillMaster Blog articles is presented AS-IS.
We only suggest and recommend what we believe is of value.
As remuneration for the time and research involved to provide quality links,
we generally use affiliate links when we can.
Whenever we link to something not our own, you should assume
they are affiliate links or that we benefit in some way.
No fancy image creation software is needed to make memes. An easy way is to create a web page with text over an image or color background and screenshot it.