Multiline Comment Html Code Example


Example 1: commenting in html


<!-- a comment in html -->

Example 2: html comment


<!--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.-->

Example 3: how to create comments in html5


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.

Example 4: multiline comment html


<!-- HTML 
comment
multiple
lines -->

Example 5: HTML comment multiple lines


<! HTML 
comment
multiple
lines -->

Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable