multi line comment html code example

Example 1: how to comment out html

<!-- a comment in html -->

Example 2: how to comment in html

<!-- your comment goes here -->

Example 3: comments in html

<!-- This text is commented in html -->

Example 4: 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 5: multi line comment html

In HTML, to do multiline comment <!-- --> is used

<!-- This is 
	multi line comment -->

Example 6: multiline comment html

<!-- HTML 
comment
multiple
lines -->

Tags:

Misc Example