Comment Syntax: Difference between revisions

From LemonWiki共筆
Jump to navigation Jump to search
(add javascript)
No edit summary
Line 4: Line 4:
comments
comments
*/
*/
</pre>
DOS Command Code:
<pre>
REM [comment]
ex: REM single line comment
</pre>
</pre>


Line 43: Line 49:


Reference
Reference
* [http://www.csulb.edu/~murdock/rem.html DOS Command:  REM]
* [http://www.tizag.com/phpT/comment.php using comments in php]
* [http://www.tizag.com/phpT/comment.php using comments in php]
* [http://www.tizag.com/xmlTutorial/xmlcomment.php xml comment]
* [http://www.tizag.com/xmlTutorial/xmlcomment.php xml comment]

Revision as of 14:10, 9 November 2010

CSS Code:

/* multiple lines
comments
*/

DOS Command Code:

REM [comment]
ex: REM single line comment

HTML Code:

<!-- This is an HTML Comment -->

<!-- multiple 
lines -->


Javascript Code:

//single line comment


PHP Code:

//single line comment

/* multiple 
lines
*/

SIKULI Code:

#single line comment

XML Code:

<!--
	multiple lines
-->

Reference