What is the difference between comments using 3 instead of 2 dashes?
Example <!--comment here-->
vs <!---comment here--->
Also do people find it more readable if there's a space between the dashes and the text e.g.<!-- comment here -->
Two dashes signify an html comment. Content within html comments are included in the output of CF pages ie viewable in the html source.
Three dashes signify a ColdFusion comment. Anything enclosed within the comments is ignored by the ColdFusion compiler, and is not included in the html output.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With