<!--This is a comment in html.-->
<!--You can put comments enywhere! It does not care if it is mid peice of
code in a peice of code! You must put the ending arrows in or it will
think everything is a comment! Note you can comment over multiple lines.
Use a ! at the start arrow, this may not make sence as the rest of
html uses tags where ! is at the ends.-->
Insert a single-line, or multi-line comment.
Comments are designated by the tags <! -- and -->
Use the comment function to hide scripts on unsupported browsers
. If you are programming in JavaScript or VBScript,
you can use the comment function to hide the script on browsers
that don't support it. Insert the comment at the start of the
script, and end it with //--> to ensure that the script works
on browsers that do support it.
<!-- short comment -->
<!-- loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong comment -->
<!--
multiple
line
comment
-->
<!-- Comments won't be shown on the page or effect the code but will remain in website code. Useful for commenting what is the code for -->
<div>
<p>This text is visible. Check the source code for multi-line comment.</p>
<!--
Hello, world! I am a comment and I am
displayed in multiple lines!
-->
</div>
<!--HTML Comment Example! HTML Comments do not affect your code in
any way, comments can be used to take notes to yourself, or if you
are working with a team, this could be a good way to communicate
without messing up any of your code. Comments will not be shown
in your HTML webpage. -->