Comment Syntax: Difference between revisions
Jump to navigation
Jump to search
m (→V: VBScript) |
(→C: CSS) |
||
| Line 2: | Line 2: | ||
==C: CSS== | ==C: CSS== | ||
CSS Code: '''viewable''' when user view the HTML source code | CSS Code: '''viewable''' when user view the HTML source code<ref>[http://www.w3schools.com/css/css_syntax.asp CSS Syntax]</ref> | ||
<pre> | <pre> | ||
/* multiple lines | /* multiple lines | ||
Revision as of 17:38, 1 April 2012
程式的註解語法(Comment Syntax) << Testing
C: CSS
CSS Code: viewable when user view the HTML source code[1]
/* multiple lines comments */
Conditional Comments for IE
D: DOS
DOS Command Code:
REM [comment] ex: REM single line comment
H: HTML
HTML Code: viewable when user view the HTML source code
<!-- This is an HTML Comment --> <!-- multiple lines -->
J: Javascript
Javascript Code: viewable when user view the HTML source code
//single line comment /* multiple lines */
P: Perl, PHP
Perl Code:
#single line comment
PHP Code: not viewable when user view the HTML source code
# single line comment // another single line comment /* multiple lines */
S: SIKULI, SQL
SIKULI Code:
#single line comment
SQL Command / MySQL Comment Syntax (MySQL 5.0):
/* multiple lines */
V: VBScript
VBScript Coding Conventions, VBScript Tutorial - Operators
' single line comment
X: XML
XML Code:
<!-- multiple lines -->
Reference