Comment Syntax: Difference between revisions

Jump to navigation Jump to search
178 bytes added ,  6 September 2013
Line 27: Line 27:
</pre>
</pre>


==J: Javascript==
==J: Javascript, JSP==
Javascript Code: '''viewable''' when user view the HTML source code
Javascript Code: '''viewable''' when user view the HTML source code
<pre>
//single line comment
/* multiple
lines
*/
</pre>
JSP<ref>[http://www.xyzws.com/JSPfaq/how-to-use-comments-in-jsp-pages/8 How to use comments in JSP pages?]</ref>
<pre>
<pre>
//single line comment
//single line comment

Navigation menu