Comments in HTML

The <!-- --> syntax is the HTML comment. This is the way to add your own notes into the code which will not display when the HTML is rendered by the browser. It is also a good practice for web-developers to use the comment tags to "hide" scripts from browsers without support for it (so they don't show them as a plain text).

[View All Snippets]
Show Plain Text »
  1. <!-- This is a comment. Comments are not displayed in the browser. -->
  3. <div id="header">
  4.    <p>Some text</p>
  5. </div> <!-- END div-header -->
  7. <script type="text/javascript">
  8. <!--
  9. function ShowMessage()
  10. {
  11.  alert("Hello World!")
  12. }
  13. //-->
  14. </script>
Create Your Free Account
Please remember that this information is essential to use our services correctly.
After creating the account you will be able to download all of our FREE products.
Fields marked with * are mandatory

Please send me information about updates, new products, specials and discounts from ApPHP!
We recommend that your password should be at least 6 characters long and should be different from your username/email. Please use only letters of the English alphabet to enter your name.

Your e-mail address must be valid. We use e-mail for communication purposes (order notifications, etc). Therefore, it is essential to provide a valid e-mail address to be able to use our services correctly.

All your private data is confidential. We will never sell, exchange or market it in any way. Please refer to Privacy Policy.

By clicking "Create Account", you are indicating that you have read and agree to the ApPHP Terms & Conditions.