<!--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.-->
<!-- This is a comment in html -->
<!--
This is a
multiline
comment in
HTML!
-->
<!-- this will be ignored -->
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 -->
<!-- Write comment here -->
<!-- HTML comment
any line -->
/* CSS comment
any line */
// Javascript comment single line
/* Javascript comment
multiline */
<! –– and the comment closes with ––>
<!-- This is how you comment in HTML -->
<!--this is a comment-->
<!--<!~~this is a nested comment~~>-->
<h1> This is line runs normally </h1>
<!-- This line is a comment, it doesn't run -->
<!--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. -->
<!-- Comment comes here -->
<!-- questo è un commento -->
<!-- Your Message to your crush -->
The above message is always ignored
<!-- das ist ein Kommentar-Tag -->
<!-- Notice: that there is an exclamation point (!) in the start tag, but not in the end tag. -->
<!-- here is how to use comment in html -->