Answers for "adding comment in html"

7

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.
Posted by: Guest on January-03-2020
1

html comment

<!--this is comment-->
Posted by: Guest on October-08-2020
0

hmtl comment

<!--
this is a multi-line comment and is the only way to comment in html
However you can put them on the same line
-->
Posted by: Guest on September-04-2020

Browse Popular Code Answers by Language